cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Wyles <...@robinwyles.com>
Subject Setting Response to 404 has no effect
Date Wed, 02 Jul 2008 18:21:05 GMT
Hi,

When I try to set the response code to 404 from within a generator it  
has no effect, i.e a 200 is still returned. It seems that  
HttpServletResponseBufferingWrapper[1] blocks this status code and  
doesn't set it on the wrapped HttpServletResponse.

Is this by design?

Thanks,

Robin

[1] http://svn.apache.org/viewvc/cocoon/trunk/subprojects/cocoon- 
servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/ 
cocoon/servletservice/HttpServletResponseBufferingWrapper.java? 
view=markup



Mime
View raw message