tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: can Tomcat call classes in JARs?
Date Wed, 27 Mar 2002 10:05:58 GMT
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
-reynir@hugsmidjan.is
 

-----Original Message-----
From: Carlos Martins [mailto:carlos.martins@pararede.com]
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 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message