Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Getting contenttype of HttpServletResponseWrapper.

Tim Funk

2003-10-17

Replies:

Override setContentType and when called set a variable in the
HttpServletRequest that the Filter can check.

-Tim

Antony Paul wrote:
> Hi all
>  How to know the content type of an HttpServletResponseWrapper. A filter
> need to know the content type of the respnse after the doFilter. It need to
> process only the text/html responses.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



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