I am using tinymce to input the message text. Tinymce is a rich text editor.
For example: The user enter a word Struts2 into a tinymce editor. Tinymce returns a message decorated with html p tag and a message is saved into the database as <p>Struts2</p>. Please nota a p tag added to the string.
Html tags are considered as a string when the value is retrieved from the database. <p>Struts2</p> is displayed in the table instead only Struts2.
I tried to use StringEscapeUtils but I could not find a solution.