I have a Form input field in my JSP:
<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 (name=\"nickname\") and it didnt work.
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?