Hi Konstantin,
You previously said:
The spec says about HttpServletResponse.
isCommitted(), but your valve is calling
org.apache.catalina.connector.Response.isCommitted().
But org.apache.catalina.connector.Response implements HttpServletResponse.
Don't you think it should conform with the spec
On 10/01/2012 14:31, Polina Genova wrote:
Hi Konstantin,
You previously said:
The spec says about HttpServletResponse.
isCommitted(), but your valve is calling
org.apache.catalina.connector.Response.isCommitted().
But org.apache.catalina.connector.Response implements HttpServletResponse.
Thanks for the answer, Konstantin,
Actually I was referring to the HttpServletResponse interface simply
because org.apache.catalina.connector.
Response implements it and I would expect that its isCommited()
implementation complies with it just like ResponseFacade's one does.
Thanks!
Best
2011/12/23 Polina Genova polina.gen...@gmail.com:
Hi,
I accidentally noticed that in valves response.isCommitted() returns false
after sendRedirect() is called.
According to the HttpServletResponse API (and Servlet Specification v.2.5)
after sendRedirect() is called the response should be