See the Servlet Spec. and you will see why.


Pae


>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