Struts2 property tag escapeHtml is not working am I missing something?
- by user1073570
The following code is not working correctly. I would like to take the following Java String from the bean
String statusMsg = "Hello World! <br/><br/><h3>Test</h3>"
And output it with the HTML tags not escaped.
<s:property escapeHtml="false" value="bean.statusMsg"
The result of this property Tag and String, is that the HTML tags are still being escaped, am I missing something?
My goal is to eventually build a table of status data and output it on the page is this the wrong way to use the property tag? Thank you in advance for your help.