Title: can Tomcat call classes in JARs?
BINGO!! thank you very much - it's working fine now! (also my jar file was not properly built, but now it is - sorry - newbie!!)
Anyway, a note to reynir: No need to address the full package in the URL - the secret is the servlet declaration made in the web.xml file - i have it like this:
        <servlet-name>busDriver</servlet-name>
        <servlet-class>bus.busDriver</servlet-class>
so, when the URL adresses busDriver tomcat knows that the class it should load is really bus.busDriver.
 
Thank you all for your support.
 
regards
Carlos
 
-----Original Message-----
From: Carlos Martins
Sent: quarta-feira, 27 de Março de 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

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>


Reply via email to