I’m having a table in MySql which has html markup in it. I’m trying to load that data in in a div but instead of showing html its showing me the html markup as it is.
instead of showing
‘Sushil‘
it is shows <div><h3>Sushil</h3></div>.
I’m using JSP as server side component. It fetches data from database using JSTL tag.
I’m not sure how to solve this problem.
Here is an old class I’ve made years ago that could be useful, use like this :
Hope this helps!