Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

using replaceAll() function with jstl

843840Jan 7 2008 — edited Jan 8 2008
Hi All

I am passing values from a child window to parent window.
The child window has the following link on clinking of which the corresponding value pass to the parent window:
<a href="#" onClick="closewindow('${stone.code}')">
The argument in the closewindow() function passes to the parent window's text box.
My problem comes when ${stone.code} contains the apostrophe in it.
The java script gives the err as we know we should replace all occurances of
' with \' .
But i am unable to do this in with the jstl.
I have already spent a lot of time on it.
Please help me if any body has any idea.
Thanks a lot of you people in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2008
Added on Jan 7 2008
6 comments
326 views