velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillermo Meyer" <gme...@sib.interbanking.com.ar>
Subject Accessing to request object
Date Tue, 05 Aug 2003 15:18:50 GMT
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.


Mime
View raw message