You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Geir Magnusson Jr." <ge...@optonline.net> on 2001/03/16 20:43:57 UTC
Re: cvs commit:
jakarta-velocity/src/java/org/apache/velocity/servletVelocityServlet.java
Daniel Rall wrote:
>
> geirm@apache.org writes:
>
> > @@ -454,9 +457,11 @@
> >
> > /*
> > * put the request/response objects into the context
> > + * wrap the HttpServletRequest to solve the introspection
> > + * problems
> > */
> >
> > - context.put( REQUEST, request );
> > + context.put( REQUEST, new HttpServletRequestWrap( request ) );
> > context.put( RESPONSE, response );
>
> Ahhh...would you mind elaborating? :)
See response to post noting pointlessness of HttpServletRequestWrap :)
Again, other solutions welcome.
geir
--
Geir Magnusson Jr. geirm@optonline.net
Developing for the web? See http://jakarta.apache.org/velocity/
Re: dunno
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
Jon Stevens wrote:
>
> on 3/16/01 11:43 AM, "Geir Magnusson Jr." <ge...@optonline.net> wrote:
>
> > See response to post noting pointlessness of HttpServletRequestWrap :)
>
> do we also need a HttpServletResponseWrap?
>
> -jon
(working on it..... )
--
Geir Magnusson Jr. geirm@optonline.net
Developing for the web? See http://jakarta.apache.org/velocity/
dunno
Posted by Jon Stevens <jo...@latchkey.com>.
on 3/16/01 11:43 AM, "Geir Magnusson Jr." <ge...@optonline.net> wrote:
> See response to post noting pointlessness of HttpServletRequestWrap :)
do we also need a HttpServletResponseWrap?
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>