cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/environment/http HttpEnvironment.java
Date Wed, 09 Apr 2003 09:57:54 GMT
on 4/9/03 11:52 AM stefano@apache.org wrote:

> stefano     2003/04/09 02:52:50
> 
>   Modified:    src/java/org/apache/cocoon/environment/http
>                         HttpEnvironment.java
>   Log:
>   readded the original servlet objects to the object model.
>   
>   Revision  Changes    Path
>   1.3       +8 -1      cocoon-2.1/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java
>   
>   Index: HttpEnvironment.java
>   ===================================================================
>   RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/environment/http/HttpEnvironment.java,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- HttpEnvironment.java	4 Apr 2003 13:19:07 -0000	1.2
>   +++ HttpEnvironment.java	9 Apr 2003 09:52:50 -0000	1.3
>   @@ -120,6 +120,13 @@
>            this.objectModel.put(ObjectModelHelper.REQUEST_OBJECT, this.request);
>            this.objectModel.put(ObjectModelHelper.RESPONSE_OBJECT, this.response);
>            this.objectModel.put(ObjectModelHelper.CONTEXT_OBJECT, this.webcontext);
>   +        
>   +        // This is a kind of a hack for the components that need
>   +        // the real servlet objects to pass them along to other
>   +        // libraries.
>   +        this.objectModel.put(HTTP_REQUEST_OBJECT, req);
>   +        this.objectModel.put(HTTP_RESPONSE_OBJECT, res);
>   +        this.objectModel.put(HTTP_SERVLET_CONTEXT, servletContext);

Very sorry for this, it has been unintentional. I tried to remove it on
my local copy then found out that needed much more instructural changes
but somehow I forgot to add it back.

My apologies, this has not been intentional.

-- 
Stefano.



Mime
View raw message