That's because \\t is two characters, so you can't compare a char to two
characters.
    (*Chris*)

----- Original Message -----
From: Emuleomo, Olu (PME) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 16, 1999 11:49 AM
Subject: JSP compiler barfs


> JSP compiler barfs at this javascript line.
>
> function iswhitespace(c)
> {
>         return(c == ' ' || c == '\\t' || c == '\\n' || c == '\\r');
> }
>
> Does not like the \\
>
> --Olu E.
>
>
> > -----Original Message-----
> > From: Joseph Di Pol [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, April 12, 1999 9:15 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: server API
> >
> > > I'm not sure what you mean by 'Java Server api'. If you mean 'java
> > > servlet API', checkout:
> > >
> > >         http://java.sun.com/products/servlet/index.html
> > >
> >
> > On the other hand if you are refering to the JavaServer Toolkit
> > (which Sun has ceased development on) see:
> >
> > http://jserv.java.sun.com/products/java-server/documentation/index.html
> >
> >
> > Joe  Di Pol                     [EMAIL PROTECTED]
> > Sun Microsystems, Inc.
> >
> >
==========================================================================
> > =
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff JSERV-INTEREST".  For general help, send email
to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> > Read the Java Web Server FAQ at http://www.sun.com/software/jwebserver/
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to