I have read that a jsp
file inside WEB-INF
cannot be accessed from outside (it must be called from a Servlet
).
But, why can the welcome-file
in web.xml
file, point to a file inside the WEB-INF
directory? because this way the file can be accessed from outside :
<welcome-file-list>
<welcome-file>WEB-INF/page.jsp</welcome-file>
</welcome-file-list>
I'm testing with Google App engine
and default Servlet container Jetty 6
.