It seems that they know about this problem -- I reported it earlier.  But
the only solution I have right now is to put the javascript in a separate
file (mycode.js) and then include the .js file into the JSP.  This keeps the
parser from thinking the entire document is XML.

David


----- Original Message -----
From: Hee Meng <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 1999 8:43 PM
Subject: Problem parsing "<" in JSP - Lexical error


> Hi,
>
> A javascript function in my jsp file causes a parse error (lexical
> error). Here is
> a snippet of the function :
>
> if (a < b) {
>   ...
> }
>
> The culprit is the "<" character. How should I deal with this so that
> the jsp
> can be parsed properly? I am using JRUN as the engine.
>
> Thanks for any info.
>
> Regards
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to