Am i right?
Some containers, e.g. Tomcat, won't serve anything unless that directory is present.
Originally posted by Christophe Verre:
I tried with Tomcat 5.5.23. I have hello.html, containing a link to hello.jsp in my "dummy" application. I can access it via "http://localhost:8080/dummy/hello.html". There's no WEB-INF in there
But do JSP files work without a WEB-INF directory?
Originally posted by Christophe Verre :
The specification does not say that WEB-INF is mandatory. It only says that there is special directory called WEB-INF
But still, it is a directory right? Or the special directory is something else?
Originally posted by Cameron McKenzie:
Will it deploy without one? Probably. Tomcat and other web servers are VERY forgiving. I love it when servers move from one version to the next, and the next version becomes more strict about enforcing the spec, and everyone cries "hey, my code doesn't work anymore!!!" I saw alot of the with JSP tags, where earlier containers let everything fly, and newer ones were much more strict.