Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSP and the fly likes forbidden access in WEB-INF dir -- where in the spec? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "forbidden access in WEB-INF dir -- where in the spec?" Watch "forbidden access in WEB-INF dir -- where in the spec?" New topic
Author

forbidden access in WEB-INF dir -- where in the spec?

Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I'm having a hard time finding where in the JSP 1.2 spec it says that things inside the /WEB-INF directory are not accessible by the browser.
i.e. http://somehost/myApp/WEB-INF/blah.txt --> this should return 400 error of some kind
Can someone find the section in the spec that talks about this?
Thanks


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12271
    
    1
I dunno about the JSP spec but it appears in the servlet 2.3 spec under "9.5 Directory Structure"
Bill
[ November 11, 2002: Message edited by: William Brogden ]

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: forbidden access in WEB-INF dir -- where in the spec?
 
Similar Threads
Error page / web.xml
permission denied error while creating a file
NoClassDefFoundError while running a servlet
About Deployment in WEB-INF/
unnable to create object of a class..