1,105,427 Community Members

Can't run JSP in Browser

Member Avatar
rational611
Junior Poster in Training
50 posts since Sep 2003
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I am running Win98SE on a Pentium 350 box with 64MB RAM. I am not able to run JSP pages/scripts in Internet Explorer. Whenever I try to run one by pressing a hyperlink, I get a This Page Cannot Be Displayed error message. I have tried changing the setting of Internet Explorer, but it does not work. I have JVM installed. However I do not have JDK. What could be wrong?

rational611

Member Avatar
Dani
The Queen of DaniWeb
20,568 posts since Feb 2002
Reputation Points: 1,356 [?]
Q&As Helped to Solve: 931 [?]
Skill Endorsements: 204 [?]
Administrator
Featured
Sponsor
 
0
 

Windows 98 is a bit outdated ... IE 4.0 - what version of IE are you using? Still, however, JSP is a server-side languages so the browser shouldn't even have to handle anything except for HTML ?? Are your sure the JSP pages work in a different system?

Member Avatar
nik77
Newbie Poster
2 posts since Sep 2004
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Even I am facing the same issue of jsp files not loading correctly in IE. I have win2k and IE6. I used to access jsp pages properly. But I had a severe virus attack once and I had to repair my os. Since then, as far as I remember, I am not able to access jsp pages properly. I think I have removed all the viruses from my PC. Any inputs on this?

nik

Member Avatar
jwenting
duckman
8,359 posts since Nov 2004
Reputation Points: 1,399 [?]
Q&As Helped to Solve: 447 [?]
Skill Endorsements: 35 [?]
Infraction Points: 5
Team Colleague
 
0
 

The browser doesn't care whether something is a JSP or not.

Most likely you corrupted the installation of your application server somehow and that causes it to no longer (or incorrectly) render JSPs leaving your browser puzzled as to what to make of it.

As to rational, do you have an application server at all? It sounds like you're trying to open JSP source files in your browser, which is not at all what they are intended for.

Member Avatar
nik77
Newbie Poster
2 posts since Sep 2004
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Thanks for your reply. I dont have an application server. I am just browsing sites on internet and files with extention .jsp are not loading properly. I wanted to know if there is any setting on the browser which restricts files with certain extentions or is it a known virus/worm for IE on win2k??

Member Avatar
JGee
Newbie Poster
5 posts since Apr 2005
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

You need to run your JSP files and servlets inside a container such as tomcat or java enterprise server. I think I am new to Java myself, but you cant run them from the browser without the script first being run on the server.

paulyoung2005@aol.com

Try www.coreservlets.com for an up to date tutorial on JSP and servlets technology.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article