Hello
What is the Struts 2.0.1 syntax in JSP-page to render message like
Missing.message3 = This feature is STILL ({0}) under construction.
Please try ({1}) again in the next interation.
1)
The following
JSP:
<s:text name="Missing.message3">
<s:param>
<s:property value="cat"/>
</s:param>
<s:param>
<s:property value="dog"/>
</s:param>
</s:text>
CLASS
private String cat="Hello from 'cat'";
public String getCat() {
return cat;
}
private String dog="Hello from 'dog'";
public String getDog() {
return "HardCoded Dog";
}
outputs
This feature is STILL () under construction. Please try
() again in the next interation
2)
JSP like
<s:text name="Missing.message3">
<s:param>
Hardcoded cat
</s:param>
<s:param>
Hardcoded dog
</s:param>
</s:text>
outputs
This feature is STILL (Hardcoded cat) under construction. Please try
(Hardcoded dog) again in the next interation
(Of course ?)