You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Mallhar Kadam <de...@yahoo.com> on 2004/08/06 01:02:01 UTC
accessing request and session variables
Hi,
Very new velocity template engine!
Can anybody please tell me how can I access the
objects stored in request and session. Can I access
them ?
or I can access objects that are set in context only ?
thanks,
mk
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: accessing request and session variables
Posted by Shinobu Kawai <sh...@ieee.org>.
Hi Mallhar,
> Very new velocity template engine!
> Can anybody please tell me how can I access the
> objects stored in request and session. Can I access
> them ?
>
> or I can access objects that are set in context only ?
Yes to both. Check out
http://jakarta.apache.org/velocity/tools/view/
It sets the servlet stuff in the context for you.
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <shinobu@ieee.org, shinobu@computer.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org