How to insert special characters like &, < and > into a JSF component

If you want to insert a character like & e.g. within a JSF (Java Server Faces) component’s value attribute, you might get an error.
To avoid this you must insert a HTML-Entity for the character. Here is a short list for common characters which you might need to replace in your JSF component.


I’m going to post a more detailed list in the future. So come back soon 😉

(Visited 873 times, 1 visits today)

Leave a Comment