Hi, Could someone tell me how to set HTML tags in the property file. In my errors.properties i have this value
required.field=<b> Required ! <b>
I wanted to display "Required ! " in bold, but im getting the output as "<b> Required ! <b>".
Thanks, Rajeev.
Jeff Albertson
Ranch Hand
Joined: Sep 16, 2005
Posts: 1780
posted
0
The property file is fine as written, but how are you outputing the string? Several tags have the attribute escape to indicate whether or not there should be some escape filtering...
There is no emoticon for what I am feeling!
Sergey Smirnov
Ranch Hand
Joined: May 29, 2003
Posts: 167
posted
0
just use escape="false" for your h: outputText. I.e, for example: