You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Guillermo Meyer <gm...@sib.interbanking.com.ar> on 2003/08/05 17:18:50 UTC

Accessing to request object

Hi:
This is a simple question. I'm new on Velocity.
I want to access to a request attribute from a Velocity template:

in a servlet I set an attribute:
request.serAttribute("propertyName", "nameXX");

in velocity I want to access this attribute value::
$request.getAttribute("propertyName")

but this doesn't work.

Can anyone tell me the syntax I should use?

Thanks in advance.
Guillermo.