struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubens <>
Subject S2 Refering to another key in the Resource Bundle?
Date Wed, 04 Jun 2008 06:26:36 GMT

Does Struts 2 resource bundle support refering to previously defined
parameter keys in the resources file?

For example, something like this:

software.text=Software version is ${software.version}

<s:text name="software.text" /> prints
Software version is 1.0.1

I know I can use the {0}, {1}, ...{n} tokens and pass use
<s:param>...</s:param> with <s:text>...</s:text>.  However, I have
where this is not possible to do.


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message