File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSP
Bookmark "where to keep jsp files in Javawebserver" Watch "where to keep jsp files in Javawebserver" New topic
Author

where to keep jsp files in Javawebserver

Neelima Paramsetty
Greenhorn

Joined: Jun 17, 2003
Posts: 16
hi,
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".
thanks,
Neelima
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
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:
myapp--
--public-html
--myjsp.jsp
--WEB-INF
then you would have to request:
http://<hostname>:<port>/myapp/public-html/myjsp.jsp
to get your jsp.
Normally i start putting my jsp's under the root
folder and then group them logical in sub directories.
Oliver
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where to keep jsp files in Javawebserver
 
Similar Threads
.war file and the WebLogic 6.0
How To Compile JSP at Runtime
Jsp in weblogic server6.0
HTTP Status 404 - /testJSP1/BasicCounter.jsp
JSTL problem