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 <[EMAIL PROTECTED]> on 30/08/2001 16:07:55
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: request object
On Thu, Aug 30, 2001 at 03:33:04PM +0100, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]