So what I am doing is,, setting the Java script in a Form property like form.setJS(<Java Script Code> . I am doing this in the Action class,, and in the forwarding JSP file
in the place i need to have the JS code i am putting <bean:write name="someform" property="jS"/>
I am geting the required Java Script on the page,, (i did a "View Source" on the resulting html to find out ) But the prob is all "'" are replaced with this --> '
i checked when i am setting the form property in the action class whether the correct JS is there. It was there.. in otherwords, the 's (single quote symbols) were there. But in the browser it gets replaced with '
please help me .. i am clueless abt this...
I can clarify more if my problem is not clear..
Thanks in advance
s mahen perera
Joined: Mar 08, 2005
identified the problem... hehe after posting in this forum only i identified the prob cos it displayed the correct "'" (single quote) hehe
by using the filter="false" property in the bean:write tag solved the prob