Once you've gotten the HttpServletRequest object, you can check the Servlet API
to figure out how to take things from there.

$req.session.servletContext should work.


Regards,
Kelvin

--------
The book giving manifesto     - http://how.to/sharethisbook


On Mon, 17 Feb 2003 20:31:08 -0500, Andre Mermegas said:
>Hrm. This isn’t working for me.
>For testing in my action I have
>
>
>ServletActionContext.getServletContext().setAttribute("listreq",list)
>;
>
>And in my view
>
>$req.SessionContext.getAttribute('listreq')
>
>which yields nothing unfortunately. Thanks.
>
>Regards, -Andre Mermegas
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]] On Behalf
>Of Matt Ho Sent: Monday, February 17, 2003 7:08 PM To: opensymphony-
>[EMAIL PROTECTED] Subject: RE: [OS-webwork] velocity
>
>$req.SessionContext
>
>See http://jakarta.apache.org/velocity/ for a definitive reference
>on Velocity.
>
>--
>Matt Ho Principal Indigo Egg, Inc.
>http://www.indigoegg.com/
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]] On Behalf
>Of Andre Mermegas Sent: Monday, February 17, 2003 3:40 PM To:
>[EMAIL PROTECTED] Subject: RE: [OS-webwork]
>velocity
>
>Ok, stumbled across $req for HttpRequest, which also in turn gives
>me access to session stuff, but ServletContext I still cant find or
>figure out.
>I tried $ctx, $context no luck, any wisdom out there? I’m bored and
>snowed in lol.
>
>Regards, -Andre Mermegas
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]] On Behalf
>Of Andre Mermegas Sent: Monday, February 17, 2003 1:53 PM To:
>[EMAIL PROTECTED] Subject: [OS-webwork]
>velocity
>
>Hey all, How can I access session, context, request objects and
>their attibutes etc...Inside a velocity view?
>
>Regards, -Andre Mermegas
>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________ Opensymphony-webwork
>mailing list [EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________ Opensymphony-webwork
>mailing list [EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to