简体   繁体   English

Mail.jar和mysql-connector-java-5.1.13-bin.jar类路径

[英]Mail.jar and mysql-connector-java-5.1.13-bin.jar Classpath

I am trying to install a Java Servlets based web application on a public server. 我正在尝试在公共服务器上安装基于Java Servlet的Web应用程序。 The application demands that I place the mail.jar file and mysql-connector-java-5.1.13-bin.jar file in my jdk/jre/lib/ext path. 该应用程序要求我将mail.jar文件和mysql-connector-java-5.1.13-bin.jar文件放在我的jdk / jre / lib / ext路径中。 But I do not have access to this folder. 但是我无权访问此文件夹。 Is there some other standard place where I can copy these files ? 还有其他我可以复制这些文件的标准位置吗?

Logically, it should not be necessary to place them there. 从逻辑上讲,不必将它们放置在此处。 If your application needs them, it should suffice to place them in WEB-INF/lib inside your webapp. 如果您的应用程序需要它们,将它们放置在webapp内的WEB-INF / lib中就足够了。 That is the standard place for your app specific libraries. 这是您的应用程序特定库的标准位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM