tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Small" <>
Subject Re: How can I best extend WebdavServlet?
Date Sat, 21 Sep 2002 14:30:02 GMT
----- Original Message -----
From: "Jacob Kjome" <>
> If the class exists in a jar archive inside $TOMCAT_HOME/server/lib or
> server/classes your webapps cannot see it.  Only the container sees
> that.

Thanks Jake. One question remains - if I reference the WebdavServlet within
web.xml Tomcat seems able to find it ok in server/lib when I invoke the
servlet. If I reference MyWebdavServlet within web.xml (and MyWebdavServlet
extends WebdavServlet) Tomcat finds MyWebdavServlet but fails to find
WebdavServlet (giving the ClassDefNotFound error). Is there something in the
spec that the classloader can only load main classes and not classes that
are used as a basis for these main classes (such as WebdavServlet)?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message