• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html tag in properties

 
Geethanandh Kandasamy
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ray Stojonic
Ranch Hand
Posts: 326
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic