How to run servlet inside jar file
843840Oct 4 2002 — edited Oct 5 2002Hi
I have a problem on running a servlet class which resides in a jar file.
At first, it runs if it is located in the root directory of jar file, but if I put in inside a sub directory, I wasn't able to run it. It seems that the servlet class was not found.
Here's the contents of my jar file:(eg. application.jar)
META-INF/
META-INF/MANIFEST.MF
Business/
Business/Business.class
TransferManager/
TransferManager/Default.class
TransferManager/Application.class
DAL/
DAL/XMLDocument.class
DAL/ParameterCollection.class
DAL/ConnectionReaper.class
DAL/JDCConnectionPool.class
DAL/JDCConnection.class
DAL/JDCConnectionDriver.class
DAL/DataAccess.class
Presentation/
Presentation/IPresentation.class
Presentation/XslTransform.class
When I deploy this jar in tomcat4.0 and try to run the Default.class
in the TransferManager package, the server can not locate the class.
But if I put it in the root directory of the jar it works.
Is there any additional setting in tomcat for this? Anyone can give
me an idea for this?
Thanks in advance...