aspose file tools
The moose likes Struts and the fly likes html tag in properties Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "html tag in properties" Watch "html tag in properties" New topic
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: html tag in properties
 
Similar Threads
Custom Tag NOT Compiling
CUSTOM TAG NOT WORKING
applets..audio sound
problem in Custom Tags
Tag files not working ...