place your .jar file in WEB-INF/lib and it will work
you must call your servlet with full path (e.g.
com.companyname.package.classname) in your url-path.
 
http://server.com/servlets/com.companyname.package.classname/
if your servlet is not in a package 
http://server.com/servlets/classname/
 
hope it helps
[EMAIL PROTECTED]
 

-----Original Message-----
From: Carlos Martins [mailto:[EMAIL PROTECTED]]
Sent: 27. mars 2002 10:02
To: Tomcat (E-mail)
Subject: can Tomcat call classes in JARs?



Hello, 

Is it possible to have tomcat call servlets that are included in a jar
file rather than simple class files located in the WEB-INF/classes
folder?

I'm trying this, by placing the jar file with the classes in that
folder, but tomcat does not see to be able to find them...

Is there any special configuration that i'm missing? 

Thanks. 
Carlos 

Reply via email to