You should bundle servlets in a .WAR file. This is the same as a jar file.
It contains the WEB-INF directory for your webapp. See the docs for details
on deplolyment. This .WAR file will sit directly in the webapps directory.
sam
----- Original Message -----
From: "David DELGRANCHE" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 9:50 AM
Subject: Servlet jar files
> Hi all,
>
> I would like to put all my servlet files in a jar file and then put the
> jar file in the classes/ directory. By doing this, Tomcat doesn't find my
> servlet and send me a HTTP 404 error. Does anyone how to specifiy to
Tomcat
> that the servlets are in a jar file?
> Thanks a lot
> David.
>