You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Hughes <ja...@avocacom.net> on 2001/07/27 11:06:12 UTC
Servlets in a JAR file in the lib directory of a WAR file
Is it valid to place servlets in a JAR file, and place them in the lib
directory (in WEB-INF dir of WAR file)?
Thanks,
J
Re: Servlets in a JAR file in the lib directory of a WAR file
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Fri, 27 Jul 2001, James Hughes wrote:
> Is it valid to place servlets in a JAR file, and place them in the lib
> directory (in WEB-INF dir of WAR file)?
>
Sure. The same is true for non-servlet classes. Just be sure you put the
JAR files exactly in the /WEB-INF/lib directory -- subdirectories
underneath /WEB-INF/lib are *not* scanned.
> Thanks,
> J
>
>
Craig McClanahan