cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
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
response has a super servlet declared. Then I'll deliver response from super servlet (or from
servlet of super servlet, ect.).

Actually, it's exactly how polymorphism in SSF is meant to be implemented, see:

Grzegorz Kossakowski

View raw message