Hi :-)  I have a question how about filter in Servlet spec 2.3:

  if I want to define more than one filter-declarations, but I want to map
   them to the same "url-pattern", for example:

<filter>
  <filter-name> filter0 </filter-name>
  <filter-class> MyFilter0 </filter-class>
</filter>
<filter-mapping>
  <filter-name>filter0</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

<filter>
  <filter-name> filter1 </filter-name>
  <filter-class> MyFilter1 </filter-class>
</filter>
<filter-mapping>
  <filter-name>filter1</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

- is the above correct?
- does "FilterChain" mean that I can define one or more than one filters?
   and container will use them one by one?
- if I want filter0 should be "used" first, then filter1, how can I set the
   "order"?

thanks in advance!

Bo
June 15, 2001

___________________________________________________________________________
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