User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 363,554 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,859 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 12877 | Replies: 5
Reply
Join Date: Sep 2003
Posts: 41
Reputation: rational611 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
rational611 rational611 is offline Offline
Light Poster

Can't run JSP in Browser

  #1  
Nov 13th, 2003
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,869
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Can't run JSP in Browser

  #2  
Nov 16th, 2003
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?
Reply With Quote  
Join Date: Sep 2004
Posts: 2
Reputation: nik77 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
nik77 nik77 is offline Offline
Newbie Poster

Re: Can't run JSP in Browser

  #3  
Sep 5th, 2004
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
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,583
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 186
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Can't run JSP in Browser

  #4  
Nov 11th, 2004
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.
Reply With Quote  
Join Date: Sep 2004
Posts: 2
Reputation: nik77 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
nik77 nik77 is offline Offline
Newbie Poster

Re: Can't run JSP in Browser

  #5  
Nov 16th, 2004
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??
Reply With Quote  
Join Date: Apr 2005
Posts: 5
Reputation: JGee is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
JGee JGee is offline Offline
Newbie Poster

Re: Can't run JSP in Browser

  #6  
Apr 13th, 2005
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 5:12 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC