<bean:define id="variable_name" type="..."><bean:write name="beanname"
property="propertyname"/></bean:define>

Do you mean this kind of assignment?

Regards
Leon 

> -----Ursprüngliche Nachricht-----
> Von: PC Leung [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 5. April 2005 17:43
> An: user@struts.apache.org
> Betreff: How to assign value to variable from property?
> 
> Hello all,
> 
> The following can print a value in jsp file.
> <bean:write name="loginForm" property="username"/>
> 
> How to assign the value to a variable in jsp from a property?
> 
> Thanks
> PC Leung
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to