tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keng Wong" <keng.w...@verizon.net>
Subject Request filters and content type
Date Tue, 12 Feb 2002 18:12:11 GMT
Does anyone know how can I retrieve the content type of a
response (or to be exact ServletResponse) ? I'm trying to process
doFilter() based on the ServletResponse and not the
ServletRequest.

Eg. if the response's contentType is gif, do something with it.

I can't use the filter-mapping tag as the response is generated
on the fly and the request url is too generic.

Thanks for the help.
-keng wong


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message