Daniel Rall wrote:
> 
> [EMAIL PROTECTED] 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?  :)

I can attest to this bug.  The class used by Tomcat to implement
HttpServletRequest can't be accessed directly in Velocity because it
somehow resists introspection.  However, I have had exactly the same
experience with HttpServletResponse.  Geir, is there some reason why
you've wrapped request but not response?

I wonder if this is a bug in the JVM or if there is some other
explanation.

Reply via email to