10, 2002 8:22 PM
Subject: Re: getting content type of response
> Dmitry Beransky wrote:
> >
> > I'm implementing a filter that needs to process a request based on the
> > returned content type.
> >
>
> There was a long discussion about this on the
Christopher, thanks for the pointer. I just started working with filters,
but the deeper I get, the more I agree with you that the current servlet
spec is inadequate when it comes to serving filter needs. I wish some
people involved in the discussion on the advanced-servlet list could see
this to
Dmitry Beransky wrote:
>
> I'm implementing a filter that needs to process a request based on the
> returned content type.
>
There was a long discussion about this on the advanced-servlets
list, thread subject:
"Why no javax.servlet.ServletResponse.getContentType() method?"
The "solution" i
Hi,
I'm implementing a filter that needs to process a request based on the
returned content type. I can't figure out, however, a way to find out what
the returned content type is. Looking at
http://java.sun.com/products/servlet/Filters.html, the sample code makes a
call to HttpServletResponseWr