cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: Servlet service request
Date Fri, 30 Nov 2007 21:52:10 GMT
Reinhard Poetz pisze:
> Grzegorz Kossakowski wrote:
> If we follow your arguments, we would also have to forbid passing
> request attributes to sub requests. IMO this is too strict because this
> would cause a lot of overhead, e.g. what about our flow implementations
> that allow passing data objects ("bizdata" map) to the called pipeline
> (though it isn't possible to call a servlet:/ URL directly ATM because
> always the cocoon:/ protocol is used, but this restriction was
> introduced long before the servlet:/ protocol was invented).?

Hmmm, I have not considered flowscript when I was formulating my opinion on this subject and
it was
an obvious mistake. Your argument is of course valid and it seems that the best compromise
functionality, performance and separation is to provide access to the data from parent request
in read-only mode. It means we should allow sub-request to access request attributes of calling
request. When it comes to session (even in read-only mode) I'm very circumspect.

I believe that the best strategy is to allow as less as possible that still enable us to make
use of servlet service capabilities.


Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon

View raw message