[Opensource] Use request instead of Output, is it ok?

Michael Rimov rimovm at centercomp.com
Sat Aug 10 13:26:19 PDT 2002


At 09:08 PM 8/9/2002 -0700, you wrote:
>hi,
>
>There is this object I'm going to pass over to JSP. If
>I intend to set the object in the Request in the
>Controller, then how from the JSP, can I get the
>object? How do I get the ControllerRequest in the JSP?
>
>So that I can get the object in JSP, and do the
>scriptlet in JSP instead of using Output and tag
>library. Find using Tag library a headache

The ControllerResponse object is stored in the session when you're 
forwarded to the JSP.  It's key is Controller.RESPONSE_KEY... so you should 
be able to get at it that way.

HTH!
                                                 -MIke




More information about the Opensource mailing list