Re: getting content type of response

2002-04-18 Thread Sourabh Kulkarni
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

Re: getting content type of response

2002-04-11 Thread Dmitry Beransky
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

Re: getting content type of response

2002-04-10 Thread Christopher K. St. John
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

getting content type of response

2002-04-09 Thread Dmitry Beransky
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