I'm trying to output a message from ApplicationResources.properties while passing in an arg. The value I want to pass as an arg is in the FormBean. However, I cannot pass a variable to the message tag without using scriptlets. What is a good way to do this?
How to I pass a vatiable into bean:message? [ November 02, 2006: Message edited by: Chris Novindus ]
posted 9 years ago
Use the Struts-el version of the tags. Then you can substitute an EL expression.
To use the Struts-el version, use the following taglib definition: