943,921 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 26628
  • JSP RSS
Nov 13th, 2003
0

Can't run JSP in Browser

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
rational611 is offline Offline
50 posts
since Sep 2003
Nov 16th, 2003
0

Re: Can't run JSP in Browser

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?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Sep 5th, 2004
0

Re: Can't run JSP in Browser

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nik77 is offline Offline
2 posts
since Sep 2004
Nov 11th, 2004
0

Re: Can't run JSP in Browser

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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Nov 16th, 2004
0

Re: Can't run JSP in Browser

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??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nik77 is offline Offline
2 posts
since Sep 2004
Apr 13th, 2005
0

Re: Can't run JSP in Browser

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JGee is offline Offline
5 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: starting jsp....
Next Thread in JSP Forum Timeline: .JSP Programmer wanted.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC