struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "deepaksawdekar" <deepaksawde...@infosys.com>
Subject <bean:message key="label.success.create"/>
Date Wed, 04 Feb 2004 13:40:13 GMT
Hi 
I want to pass the varible to key of the statement <bean:message key="label.success.create"/>

eg. 
if ( some condition )
	str = deepak
else
	str = xyz

Now i want to pass the value of str as a key to bean:message how can i do this 

<bean:message key=str />


Thanks and Regards
deepak 

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


Mime
View raw message