You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Iván Escobedo <ie...@nacion.co.cr> on 2003/10/22 18:45:13 UTC
Links with parameters in velocity templates
Hi you all, i have a question.
May i make a link like this?
http://server/app/template.vm?param=value¶m2=value2
Does it work like in jsp's that i can access these parameters thru the request object?
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Links with parameters in velocity templates
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On Wednesday, October 22, 2003, at 12:45 PM, Iván Escobedo wrote:
> Hi you all, i have a question.
>
> May i make a link like this?
>
> http://server/app/template.vm?param=value¶m2=value2
>
> Does it work like in jsp's that i can access these parameters thru the
> request object?
yes, as long as you have access to the HttpServletRequest object in the
template.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
--
Geir Magnusson Jr 203-247-1713(m)
geirm@optonline.net
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org