ServletFilter « Filter « JSP-Servlet Q&A





1. How can I get the HTTP status code out of a ServletResponse in a ServletFilter?    stackoverflow.com

I'm trying to report on every HTTP status code returned from my webapp. However the status code does not appear to be accessible via the ServletResponse, or even if I ...

2. How can I check in a ServletFilter, which HTTP-response-code was set?    stackoverflow.com

Possible Duplicate:
How can I get the HTTP status code out of a ServletResponse in a ServletFilter?
I want to post-process some sites send with a ...