Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to keep jsp files in Javawebserver

 
Neelima Paramsetty
Greenhorn
Posts: 16
  • 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
  • Mark post as helpful
  • 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
 
Shiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!