I have a text area and enter some content in this text-area I want to display the content on jsp page in the same format in which I have entered the content in text-area. So its like I entered the text in text-area then save it in mysql database then retrieve it from database and display it on Jsp page. I google it also but can’t find the solution.
I am using Spring MVC with mysql database.
Enclose the text into a
pretag:The
c:outJSTL tag is necessary to HTML-escape all the HTML special chars:<become<,>becomes>,&becomes&, etc.