> 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]

Reply via email to