I have a field in my data base for normal blood values which are like "< 12". When I use bean:write to output this data I get an error. How can I escape the "<" sign?
Printable View
I have a field in my data base for normal blood values which are like "< 12". When I use bean:write to output this data I get an error. How can I escape the "<" sign?
When you use the bean:write tag add the filter="true" attibute. That will escape any html characters that are in your data.