cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: request object
Date Thu, 30 Aug 2001 14:58:24 GMT
Is this what are you looking for:

HttpServletRequest httpRequest =

(HttpServletRequest)this.objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT
);

?

Regards,
    Konstantin Piroumian

> Hi developers,
>
> I don't think this has been dealt with before - although I may be wrong.
>
> I've now converted my java apps to cocoon2. This was made infinitely worse
> because the cocoon HttpRequest class does not implement  the javax
> HttpServletRequest interface.
>
> It says it does in the javbadocs, it implements evbery method. But,
> formally it does not.
>
> This means a huge duplication of code on my part (I wanted to retain
> cocoon1 compatability for back out purposes).
>
> Is there a reason for this, or is it an oversight. I know a number of
> questions have been raised on the user mailing list regarding this, but no
> technical explanation has been forthcoming.
>
> I guess you're the guys to ask.
>
> 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.
>
> Otherwise, thanks for all the work you're doing!
>
> Regards,
>
> Anthony Aldridge
> Lead Application developer
>
> Managed Intranet Hosting
> JPMorganChase
> Personal GDP: 325-8338
> MIH Hotline: 876-1300
> Regards,
>
> Anthony Aldridge
> Lead Application developer
>
>
> ---------------------------------------------------------------------
> 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