File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to keep jsp files in Javawebserver

 
Neelima Paramsetty
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic