File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP will not run Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP will not run" Watch "JSP will not run" New topic

JSP will not run

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How do I get a JSP to run on Netscape Enterprise Server 3.5.1.
I can get Servlets to run ok within dir servlets.
Do I have to place the JSP files in a special dir so the server
can recognise the .jsp ext- Help
Tom P
Ranch Hand

Joined: May 06, 2000
Posts: 88
The jsp should go in the same directory as your servlets. The servlet server (e.g. ServletExec) will need to be configured to use jsp.
Frank Daly
Ranch Hand

Joined: Mar 31, 2000
Posts: 141
What classpath changes are required in order to compile servlets for jrun
thanks in advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
In the Servers I have used, JSPs go in the normal directory
structure with the HTML pages and other resources. The JSP engine does the translation into Java source code and then into a servlet that is placed correctly in the servlet directory according to package, etc.
You send a browser to the JSP just like you would go to an HTML page, the server must be set to recognize the .jsp file type and direct processing to the JSP engine.
I agree. Here's the link:
subject: JSP will not run
jQuery in Action, 3rd edition