[英]Is WEB-INF in the CLASSPATH?
WEB-INF
Web应用程序的CLASSPATH
中的WEB-INF
文件夹是什么?
I'm assuming you're referring to the /WEB-INF
directory in the root of the web application folder structure. 我假设您指的是Web应用程序文件夹结构的根目录中的
/WEB-INF
目录 。
No, it's not in the classpath. 不,它不在类路径中。
/WEB-INF/classes
is on the classpath though, and so are the JAR files in /WEB-INF/lib
. /WEB-INF/classes
虽然在类路径中,但/WEB-INF/lib
中的JAR文件也是如此。
此外,WEB-INF中的文件受到保护,不受Web容器的请求,即它们对外界是不可见的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.