Automatic generation of JavaScript in JSP prints quote in ASCII inside html
Hi,
I generate a string in Struts Action class.
For eg like this. String var ="var a = new Array(["A", "B"]);" ; and pass this string in request object. The string is properly escaped and generated perfectly.
and in JSP
use
<script type="text/javascript" language="javascript">
<c:out value="${var}" />
</script>
In my html, the output is fine, except that double quotes are printed as their equivalent ASCII code....."
How to print this as character itself?
Thanks in advance

