Tomcat 3.2 will load servlets from the classpath. I believe that tomcat
3.3 will not do this out of the box, but you will be able to change the
startup scripts to enable it.

"Lu, Spencer" wrote:
> 
> Hi,
> 
> I've noticed that a servlet class invoked by Tomcat must reside in a
> subdirectory of <docBase>/WEB-INF/classes.  Ideally I would like to be able
> to place my servlet class in a directory that is not under WEB-INF/classes.
> Is there any way to do this without changing the Tomcat source and
> recompiling it?  If not, does anyone know why the developers coded Tomcat
> this way, instead of just loading the servlet from a directory in the
> classpath?  Just curious.  Thanks.
> 
> Spencer

Reply via email to