Bear Bibeault wrote:That has nothing to do with the angle bracket characters, or even JavaScript. The escaping simply is to allow double quotes in Java strings.
Symbols like ("< and >") behaves differently while generating js from servlets. Check your script code in JSP which is generated by Servlet.
Try using escape sequence on those symbols..