F
f
I am using Tomcat for servlet. Here is what in Tomcat doc:
/WEB-INF/lib/ - This directory contains JAR files that contain Java
class files (and associated resources) required for your application,
such as third party class libraries or JDBC drivers.
However, my servlet use oracle driver-classes12.zip. I put it under
tomcat dir/webapps/mywebapp/WEB-INF/lib/classes12.zip.
my servlet at
tomcat dir/webapps/mywebapp/WEB-INF/classes/com.myc.myp.myservlet.class
But my serlvet can not find the classes12.zip.
If I add the class path in catalina.bat, my servlet can find it.
How can I fix it?
Thanks,
ff
/WEB-INF/lib/ - This directory contains JAR files that contain Java
class files (and associated resources) required for your application,
such as third party class libraries or JDBC drivers.
However, my servlet use oracle driver-classes12.zip. I put it under
tomcat dir/webapps/mywebapp/WEB-INF/lib/classes12.zip.
my servlet at
tomcat dir/webapps/mywebapp/WEB-INF/classes/com.myc.myp.myservlet.class
But my serlvet can not find the classes12.zip.
If I add the class path in catalina.bat, my servlet can find it.
How can I fix it?
Thanks,
ff