Thank you very much. Ssorry for my poor english.
Yufan Shi We are Online! http://www.ivanshi.com/blog/ -----Original Message----- From: Greg Ludington [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 10:18 AM To: Struts Users Mailing List Subject: Re: How can I set values to message parameters by using bean:message tag? > Hi all, > I am wondering if there is a way to set values to message paramerts by > using bean:message, for example, I have a message entry in my > application.properties file like this:Welcome, {0} Unless I am misunderstanding what you are looking for, that is what the arg0-arg4 attributes are for, to insert up to 5 parametric replacements. <bean:message key="welcome.message" arg0="Struts User"/> In case I have goofed, check the docs at: http://struts.apache.org/userGuide/struts-bean.html#message If you prefer to use JSTL over struts tags when possible, the JSTL equivalent is the <fmt:message> tag. hth, Greg --------------------------------------------------------------------- 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]