var name= '<bean:write name="frmUser" property="name" filter="true" />';
When jsp render code then it appears like this
var name = 'Ishwar Lal \';
JavaScript shows error on it.
"Ishwar Lal \" is the sample value. I don't know what value will come. But issue appears when back slash come in javascript.