Re: about filter

groundsea <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
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
>>        [email protected]
>>          2004-01-08
>>
>>___________________________________________________________________________
>>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
>
>___________________________________________________________________________
>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

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

        致
礼!

				
        groundsea
        [email protected]
          2004-01-09

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.