glogin
asked on
Get HTTP status code in Filter
I am writing a Servlet Filter for my web application.
How can I get the return status code from request / response ?
How can I get the return status code from request / response ?
ASKER
No this API in HTTPServletResponse and ServletRespons.
Which "response" ?
Which "response" ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can you provide any snippet..
Will this also works in WebSphere?
Will this also works in WebSphere?
response.getStatus()