| Author |
html tag in properties
|
Geethanandh Kandasamy
Greenhorn
Joined: Sep 28, 2004
Posts: 5
|
|
my application.properties file has a line like this response.save = {0} has been <b>saved</b>. I want my "saved" to be bolded, but the html tag is be printed as such instead of bolding Any suggestions
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
|
This should happen if you set the Struts tag's filter attribute to "true". There might be something else causing it such as a configuration in web.xml or struts-config.xml but I am not sure.
|
A good workman is known by his tools.
|
 |
Ray Stojonic
Ranch Hand
Joined: Aug 08, 2003
Posts: 326
|
|
|
Yes, it's the bean:write filter attribute, but the default is true, so you'll need to set it to false to get the behavior you want.
|
 |
 |
|
|
subject: html tag in properties
|
|
|