HTML Encoding in JSP
843838Mar 9 2006 — edited Dec 19 2006I want to display the output in a JSP page as per the data entered in a form in another JSP page.
I am able to do this; however, if HTML tags are used, then I want them to be treated as literals.
Further, I want to preserve the line spaces/new lines while displaying the output. By default, the browser justs treats the output as HTML.
Pls. advise.