tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Muñoz <pmu...@mundivia.net>
Subject RE: out.println ?
Date Mon, 22 Oct 2001 05:50:51 GMT
that's right
use ..println("<td><a href='http...'>message..."); instead of
..println("<td><a href="http...">message...");
Also you can try this one ..println('<td><a href="http...">message...');

Bye,

-----Mensaje original-----
De: Adrian Caramarin [mailto:adrian.caramarin@psgl.ro]
Enviado el: lunes, 22 de octubre de 2001 8:40
Para: tomcat-user@jakarta.apache.org
Asunto: Re: out.println ?


Hi again Franco,

Still Adrian is here.
Excuse me, I saw later your code . The compiler signals errors because it
"thinks" that your string ended at the first double quotes which means
before http://... and then the second time when you are using double quotes
they remain unclosed.
Try to use apostrophe at a href, hope this work.

Adrian

out.println("<td><A HREF=\"http://localhost/adduser.jsp\">You have no
account
     here, please register one!</A></td>");


----- Original Message -----
From: "Miao, Franco CAWS:EX" <Franco.Miao@gems7.gov.bc.ca>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, October 22, 2001 7:04 AM
Subject: RE: out.println ?


> I have cut and paste your code, stiil no luck! thanks.
>
> Franco
>
>
> -----Original Message-----
> From: Shah, Chintan V (Chintan) [mailto:cvshah@lucent.com]
> Sent: Sunday, October 21, 2001 10:01 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: out.println ?
>
>
> check out the number of quotes you are using...and try to do..as i've
> written in my previous mail...
>
> regards,
> Chintan
>
>
> -----Original Message-----
> From: Miao, Franco CAWS:EX [mailto:Franco.Miao@gems7.gov.bc.ca]
> Sent: Monday, October 22, 2001 10:16 AM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: out.println ?
>
>
> I got this error now
>
> String not terminated at end of line.
>                 out.println("You have no account
>
>
> Franco
>
>
>
> -----Original Message-----
> From: naveen [mailto:naveen@ibro.co.jp]
> Sent: Sunday, October 21, 2001 9:39 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: out.println ?
>
>
> hi,
> use this!
>  out.println("<td><A HREF=\"http://localhost/adduser.jsp\">You have no
> account
>      here, please register one!</A></td>");
>
>
>
> ----- Original Message -----
> From: "Miao, Franco CAWS:EX" <Franco.Miao@gems7.gov.bc.ca>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Monday, October 22, 2001 1:35 PM
> Subject: out.println ?
>
>
> > Source code:
> >
>
> --------------------------------------------------------------------------
> --
> > ---------------------------
> > out.println("<td>"<A HREF="http://localhost/adduser.jsp">You have no
> account
> >
> >      here, please register one!</A>"</td>");
> >
> > ________________________________________________________________
> >
> > Error code:
> >
>
> --------------------------------------------------------------------------
> --
> > --------------------------
> > Unable to compile class for JSPNote: sun.tools.javac.Main has been
> > deprecated.
> >
> >  ')' expected.
> >                 out.println(""You have no account
> >
> >
> > ________________________________________________________________
> >
> > What I missed? Pls advise, thanks!
> >
> >
> > Franco
> >


Mime
View raw message