is there a way in struts2 to create a locale in the properties file and then
substitue values to it?
For example:
in properties file:
myApp.Welcome = "Hello ?"

then when we call this locale we can pass in some value for '?'

<s:text name="myApp.Welcome"><s:parm value="World"/></stext>
<br>
<s:text name="myApp.Welcome"><s:parm value="John"/></stext>

This would print:
Hello World
Hello John

Thanks
-bhaarat

Reply via email to