cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: [jira] Commented: (COCOON-2150) Error on resetting response
Date Wed, 12 Mar 2008 17:17:58 GMT
Vadim Gritsenko pisze:
> On Mar 12, 2008, at 6:52 AM, Grzegorz Kossakowski (JIRA) wrote:
> 
>> @Rice: No, this is not a good fix because response must be always
>> discarded no matter if it's been already comitted or not.
> 
> Why do you think so? Why do you want to discard a response which I
> carefully crafted in my application? And what would you deliver to the
> browser instead of my response which I expect to see?

I'll discard it only if you return 404 response code *and* the servlet that has generated
the
response has a super servlet declared. Then I'll deliver response from super servlet (or from
super
servlet of super servlet, ect.).

Actually, it's exactly how polymorphism in SSF is meant to be implemented, see:
http://cocoon.zones.apache.org/daisy/cdocs-servlet-service-impl/g1/1412.html

-- 
Grzegorz Kossakowski

Mime
View raw message