You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Phillip Morelock <su...@phillipmorelock.com> on 2002/06/06 08:01:33 UTC
Re: no notification when incorrect classes are specified in
web.xml
Servlets etc are not loaded until needed. This is specified behavior, IIRC.
Maybe not, but for some reason I seem to recall that there's a reason behind
this. Maybe it's just the simple resource usage argument.
To work around it (for example, during development), add a load-on-startup
tag to each.
fillup
On 6/5/02 10:56 PM, "tek1" <te...@pobox.com> wrote:
> does anyone know which catalina class is responsible for loading the
> servlet and filter classes specified in the web.xml file?
>
> i've noticed that when i start tomcat that tomcat gives no notification
> when the classes, specified in web.xml (i.e. <filter-class> or
> <servlet-class>), are not valid.
>
> if possible, i would like to fix this problem, i feel that it would be
> better if the class loader printed out a message when tomcat starts that
> the specified servlet/filter could not be found.
>
> thank you.
>
>
>
> environment info
> --------------
> tomcat version: 4.0.4b3
> os: windows2000
> java version: jdk1.3.1_03
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>