| Author |
Problem running my first JSP using JRun
|
Ria Mathur
Greenhorn
Joined: Oct 11, 2001
Posts: 14
|
|
I am trying to run my first JSP page with JRun, The code is plain "hello world" in HTML, but I am getting internal server error 500 when I try to view the page. The same installation of JRun runs servlets w/o any problem, so there's is no problem with the installation. Am I supposed to put these JSP pages in a specific directory of JRun like servlets? The documentation doesn't mention this. Anyone with JRun exp pls help. I am running JRun on Win2k Thanks, Ria
|
-Ria
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
I am not sure about Jrun, for the servers that I have worked with, (Tomcat and Websphere) you just create a JSP folder within the servers directory and put your jsp's there. You may want to try that, if you haven't already.
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
Manish Hatwalne
Ranch Hand
Joined: Sep 22, 2001
Posts: 2573
|
|
Originally posted by Ria Mathur: I am trying to run my first JSP page with JRun, The code is plain "hello world" in HTML, but I am getting internal server error 500 when I try to view the page. The same installation of JRun runs servlets w/o any problem, so there's is no problem with the installation.
Try setting the classpath which is in general-java config of JRun. It is *not* same as system classpath. Does it compile the jsp into a servlet? If it doesn't help let us know what the entire error is with ur version of JRun u r using.
Am I supposed to put these JSP pages in a specific directory of JRun like servlets? The documentation doesn't mention this. Anyone with JRun exp pls help. I am running JRun on Win2k
NO!! You can put it in any folder as long as it's a virtual directory. HTH, - Manish [ January 17, 2002: Message edited by: Manish Hatwalne ]
|
 |
Manjunath Subramanian
Ranch Hand
Joined: Jul 18, 2001
Posts: 236
|
|
There must be a syntax error in your JSP file. 500 Internal server is thrown by the JSP engine when it cannot convert the JSP file into a servlet file.Check your code or put it here for more help.
|
 |
Ria Mathur
Greenhorn
Joined: Oct 11, 2001
Posts: 14
|
|
Thanx Manish, It was the classpath in JRun, It couldn't get it to convert into a servlet, now the problem is solvd. Thanx a lot. -Ria
|
 |
 |
|
|
subject: Problem running my first JSP using JRun
|
|
|