cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: [C2] Request scope in XSP
Date Thu, 20 Jul 2000 20:49:36 GMT
on 7/20/00 3:48 PM, Willie Wheeler at wwheeler@andrew.cmu.edu wrote:

> Hi all,
> 
> Earlier today Carsten asked about Cocoon2 sessions, and the answer was that
> they will be implemented in time.  I want to follow up by asking about
> requests as well.  As you know, in JSP you can use the HttpServletRequest to
> set and get attributes.  Will Cocoon2 also allow this capability, or is
> there a different/preferred way to get the same functionality?  If the same
> kind type of capability is planned, I think it would take all of five
> minutes to implement--just add the relevant accessor methods to the
> org.apache.cocoon.Request interface, implement them on the
> CocoonServletRequest class, and then have it delegate to the
> HttpServletRequest that it wraps (just like the other CocoonServletRequest
> methods do)...
> 
> Willie

+1  

I always pass objects around using the HttpServletRequest.get/setAttribute
methods.

Mike


Mime
View raw message