Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to keep jsp files in Javawebserver  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!