File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes where to keep jsp files in Javawebserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "where to keep jsp files in Javawebserver" Watch "where to keep jsp files in Javawebserver" New topic

where to keep jsp files in Javawebserver

Neelima Paramsetty

Joined: Jun 17, 2003
Posts: 16
i kept my jsp file in public-html.After that what i have to do to run the Jsp file.can i directly go to browser and run the Jsp file.if i do so,it is giving error like"File not found".
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
i think you have requested the wrong URL. It is not like in IIS where public-html is your root folder. Here it is your application folder. Assuming the following structure:
then you would have to request:
to get your jsp.
Normally i start putting my jsp's under the root
folder and then group them logical in sub directories.
subject: where to keep jsp files in Javawebserver
Similar Threads
How To Compile JSP at Runtime
Jsp in weblogic server6.0
.war file and the WebLogic 6.0
HTTP Status 404 - /testJSP1/BasicCounter.jsp
JSTL problem