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.
| Character | Entity |
|---|---|
| & | & |
| ‘ | ' |
| “ | " |
| < | < |
| > | > |
I’m going to post a more detailed list in the future. So come back soon 😉
(Visited 1,166 times, 1 visits today)