hey guys,

I dont seem to have the problem with a "jswdk",

if( 1<= 1)
        alert("seems fine")

is working for me, but i remember that in a book called Advanced Javascript,
it had said that the < & > give problems sometimes you can

well try the eval function and see.

if( eval( xxx + " <= 9") )
{
        //this might help
}

amit
> -----Original Message-----
> From: Stephen Summerfield [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 17, 1999 10:43 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: ignoring Javascript in JSP
>
> -----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

===========================================================================
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

Reply via email to