On Fri, 16 Aug 2002, Josh wrote:
> Date: Fri, 16 Aug 2002 16:47:44 +1000
> From: Josh <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
> Josh <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Can't find the filter class :(
>
> I've got this in my web.xml file:
>
> <filter>
> <filter-name>protectedFilter</filter-name>
> <filter-class>au.com.multemedia.wf.misc.ProtectedFilter</filter-class>
> </filter>
>
> <filter-mapping>
> <filter-name>protectedFilter</filter-name>
> <url-pattern>/protected/*</url-pattern>
> </filter-mapping>
>
> I get a classnotfoundexecption in the logs, althought the class file is
> there... Is there something wrong with my syntax?
>
"The classfile is there" -- meaning where? If it is not in
"/WEB-INF/classes/au/com/multemedia/wf/misc/ProtectedFilter.class" or in a
JAR file (in WEB-INF/lib) under entry
"au/com/multemedia/wf/misc/ProtectedFilter.class", then it really isn't
"there" as far as Tomcat is concerned.
Of course, you need to ensure that any other class referenced by this
Filter class is "there" as well.
> -Josh
>
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>