Hello,

I'm trying to use servlet filters for the first time, and I'm running
into a problem. When I add filter related tags to my web.xml, my servlet
container will not load my application.

This is what the web.xml looks like with the filter tags included:

<!DOCTYPE web-app
     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
     "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd";>

<web-app>
         <display-name>Industrial Steam Trap Monitoring
Application</display-name>

     <filter>
         <filter-name>authFilter</filter-name>

<filter-class>com.xsilogy.steamtrap.AuthenticationFilter</filter-class>
     </filter>
     <filter-mapping>
         <filter-name>authFilter</filter-name>
         <url-pattern>/*</url-pattern>
     </filter-mapping>

     <session-config>
         <session-timeout>10080</session-timeout>
     </session-config>
</web-app>

I believe I'm following the DTD correctly, but if I'm not, what is
wrong? Also, I'm using Tomcat v4.0.1. Does it have any known issues with
filters?

Thanks in advance.
--
Jason Wells
Web Architect
Xsilogy, Inc.
http://www.xsilogy.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to