我已经读到无法从外部访问jsp内部的文件(必须从 a 调用)。 WEB-INFServlet
但是,为什么welcome-fileinweb.xml文件可以指向WEB-INF目录内的文件呢?因为这样可以从外部访问文件:
<welcome-file-list>
<welcome-file>WEB-INF/page.jsp</welcome-file>
</welcome-file-list>
我正在使用Google App engine默认的 Servlet 容器进行测试Jetty 6。