F
francan00
I have a Form input field in my JSP:
How do I make sure this data is escaped correctly to be able to show
quotes and apostrophes. I tried slash in front but it didnt work:
(name=\"nickname\")
I dont have JSF,Struts, JSTL, StringEscapeUtils (from Apache commons)
due to restrictions on my Tomcat 4.1.27 container.
Is there something I can use or please advise best way to handle this?
Code:
<input name="nickname" type="text" value="<%= NameClass.getInfo()
%>" />
How do I make sure this data is escaped correctly to be able to show
quotes and apostrophes. I tried slash in front but it didnt work:
(name=\"nickname\")
I dont have JSF,Struts, JSTL, StringEscapeUtils (from Apache commons)
due to restrictions on my Tomcat 4.1.27 container.
Is there something I can use or please advise best way to handle this?