Hi
If u want to escape characters in JSP use taglibs provided by
jakarta(ie http://jakarta.apache.org/taglibs/doc/string-doc/index.html#escape)
and if u want to escape String in java classes use commons-lang
package (api refeence is
http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringEscapeUtils.html)
bye
Isteyaque
On Wed, 5 Jan 2005 21:42:02 +0530, Krishna Mohan Radhakrishnan
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
> This is a javascript function that is being called when a button called
> "Update" is pressed.
>
> Now if the planTitle or verbalDescription has got any apostrophe(') then
> it is throwing up a javascrit error that ) is expected.
>
> Does not struts handle these type of characters like ',",/ etc.
>
> Does anybody has a solution to the problem?
>
> Regards,
> Krishna Mohan R
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]