-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris Carter
>Hi, we have problems compiling a JSP that contains Javascript with
>Apparently, any JavaScript statement that looks like:
>
> if (xxx <= 9) .......
>
>generates an error
>
>IT WAS the "<=" portion of it. It must confuse it with the beginning
>of an HTML tag somehow. The quick resolution was to replace
>that statement with "xxx < 10".
>
>But, is there a way to tell it to ignore the javascript entirely?
>
>any thoughts?
Which JSP engine are you using?
I had a similar/same problem recently with JRUN, an update patch fixed it.
You could always code it as:
if ( 9 >= xxx) .......
does that work?
HTH,
Steve S
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html