Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Re: about filter

��ҵ��

2004-01-08

Replies:

Bob Withers,您好!

 I mean how the filter control the method when the method is succeful, which do not throw Exception.

======= 2004-01-08 05:55:00 您在来信中写道:=======

>When the final filter in a chain calls doFilter() the service method of the
>servlet is called. If the servlet throws an exception it can be caught and
>acted upon by a filter if you wish.
>
>try
>{
>   doFilter(req, resp, chain);
>}
>catch (Exception e)
>{
>    // the servlet failed
>}
>
>Regards,
>Bob
>
>At 02:18 PM 1/8/2004 +0800, you wrote:
>>SERVLET-INTEREST!
>>
>>       when a method of a servlet is successful, its filter begin to
>> do something, or the filter not do anything.
>>   I want to know, in filter how to know whether that method is successful?
>>
>>        致
>>礼!
>>
>>
>>        groundsea
>>        sunyh@(protected)
>>          2004-01-08
>>
>>___________________________________________________________________________
>>To unsubscribe, send email to listserv@(protected)
>>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
>
>___________________________________________________________________________
>To unsubscribe, send email to listserv@(protected)
>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

= = = = = = = = = = = = = = = = = = = =
     

        致
礼!

       
        groundsea
        sunyh@(protected)
          2004-01-09

___________________________________________________________________________
To unsubscribe, send email to listserv@(protected)
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


©2008 junlu.com - Jax Systems, LLC, U.S.A.