Monday 15 June 2015

java - need to show HTML in jsp using struts tagLib -


I am working on a Java (struts) web application. I have to show some content by meeting DB in JSP. Example Content:

   & Lt; / Div & gt;   

I am using textarea for the time, but when I put it in textarea using the following tags:

  & lt; Html: textarea property = "contentFromDB" rows = "12" cols = "70" styleClass = "textarea" disabled = "true" />   

This shows HTML in textarea, some Also the way I can show content in the textarea with the HTML tags or I can show any content other tags like p or span , I can not see these tags in the Strats tag LIB too.

No, I do not remember the behavior (s) of my escape, if any.

No comments:

Post a Comment