tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keng Wong" <>
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

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:   <>
For additional commands: <>
Troubles with the list: <>

View raw message