Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

content of WEB-INF directory ?

 
Raj Paul
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It has been said in many books that the content of WEB-INF directory are not served to clients. what does it mean ? Can't i put a jsp file inside web-inf directory & access it ???
Thanks & Regards
Raj Paul
 
John Williamer
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically anything inside the web-inf cant be acessed directly, so no you cant put a jsp inside. Although you can get a file from it indirectly ie through getResourceAsStream from the ServletContext
 
Raj Paul
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I kept a .jsp file in WEB-INF directory, and accesses through RequestDispatcher .. is it right ?
Thanks & Regards
Raj Paul
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic