You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by temp temp <mi...@yahoo.com> on 2005/07/12 22:51:21 UTC

bean tag

I would like to retrieve  message from application
Resources property file and save it into a bean in a
jsp. 

<bean:message key="someKey"> writes to  response .
But I want this value to be saved in a bean in page   

scope can I do this.

thanks & regards



		
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/

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


Re: bean tag

Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "temp temp" <mi...@yahoo.com>

> I would like to retrieve  message from application
> Resources property file and save it into a bean in a
> jsp.
>
> <bean:message key="someKey"> writes to  response .
> But I want this value to be saved in a bean in page
> scope can I do this.

http://struts.apache.org/userGuide/struts-bean.html#define

Wrap it in a <bean:define> or <c:set> tag.  Both tags will take the body of
the tag as the value of the new bean.

-- 
Wendy Smoak


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