cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaldr...@csc.com
Subject Re: request object
Date Fri, 31 Aug 2001 07:13:41 GMT
Thanks - also to Konstantin Piroumian.

I'll foprward this to the user maillist, as there is no documentation for
this, and I know a number of questions have been raised regarding this
issue.

Regards,

Anthony Aldridge
Lead Application developer

Managed Intranet Hosting
CSC
JPMorganChase
Personal GDP: 325-8338
MIH Hotline: 876-1300







Gianugo Rabellino <g.rabellino@bibop.it> on 30/08/2001 16:07:55

Please respond to cocoon-dev@xml.apache.org

To:   cocoon-dev@xml.apache.org
cc:
Subject:  Re: request object


On Thu, Aug 30, 2001 at 03:33:04PM +0100, aaldridg@csc.com wrote:

> It would be nice to implement the interface, or at least provide public
> access to the HttpServletRequest object from c2. The object is currebtly
> protected, even if you don't want to formally implement the interface, I
> can see no reason for not providing a public access  to egt the
> ServletRequest.

Look at the Map object that is being passed in the setup() methods. from
there you can do:

HttpServletRequest httprequest =
   (HttpServletRequest)Map.get(HttpEnvironment.HTTP_REQUEST_OBJECT);

This is how I'm doing it myself, and it works...

Ciao,

--
Gianugo Rabellino

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org







---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message