Web 组件 WEB-INF LIB 应在 war 文件中包含哪些 jar
web-inf/lib 也应根据 J2EE 标准仅包含应用程序特定的 jar 或部署环境特定的 jar。
注意:war 文件没有使用任何部署环境特定功能(例如 weblogic 或 websphere 或 tomat 等...)
is web-inf/lib should contain only application specific jar's or deployment environment specific jar's also as per J2EE standards.
Note : war file is not making use of any deployment environment specific functionality (for instance weblogic or websphere or tomat etc ...)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
应用程序特定的 jar,如果您在同一服务器/JVM 上部署了多个应用程序,那么您不想共享其类(类实例)的任何 jar。有关我的第二点的更多详细信息:我之前关于类加载器的问题
Application specific jars and if you have multiple applications deployed on the same server/JVM then any jars whose classes (class instances) you don't want to share. For more details about my second point: my earlier question about classloaders
WEB-INF/lib 文件夹应包含应用程序特定的 jar 文件。服务器全局的 Jar 文件将存储在服务器的类路径中。
The WEB-INF/lib folder should contain your application specific jar files. Jar files that are global to the server will be stored in the server's classpath.