struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <>
Subject Re: Passing variables in url
Date Mon, 27 Aug 2007 15:39:41 GMT
2007/8/27, Anna Simbirtsev <>:
> Hello
> I am trying to pass a variable in the url, but I can't seem to get the value
> to be passed.
> <html:link page="/" paramId="param1" paramName="value">
>         <html:img srcKey="add.button.image" altKey="add.button.image.alt"
> width="80" height="20"border="0"/></html:link>
> value is a bean in struts, that has get/set functions.
> I tried using paramName="${value_}" and pass a string, but it did not work.

If "value" was a simple attribute (such as a string or a number) it
should work, but since you say it is a bean you need to add the
"paramProperty" attribute in the <html:link> tag.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message