try
out.println("<td><A HREF=\"http://localhost/adduser.jsp\">You have no "+
"account here, please register one!</A></td>");
Adrian Caramarin schrieb:
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > Sent: Sunday, October 21, 2001 10:01 PM
> > To: '[EMAIL PROTECTED]'
> > 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:[EMAIL PROTECTED]]
> > Sent: Monday, October 22, 2001 10:16 AM
> > To: '[EMAIL PROTECTED]'
> > 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:[EMAIL PROTECTED]]
> > Sent: Sunday, October 21, 2001 9:39 PM
> > To: [EMAIL PROTECTED]
> > 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" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > 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
> > >