struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Mikheev <mi...@bigfoot.com>
Subject Re: Passing variables in url
Date Mon, 27 Aug 2007 15:55:17 GMT
Anna Simbirtsev wrote:
> <html:link page="/myAction.do" 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 think that value itself should be a String not a bean.

 From struts documents:
paramName - The name of a JSP bean that is a String containing the
value for the request parameter named by paramId

They are calling it a JSP bean, which is not a JavaBean.

Although this is just my guess.

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message