Have you got it all on one line? This: out.write("this is one line of code, and this is another");
wont work, but: out.write("this is all on one line"); will. hth dim On Sun, 21 Oct 2001, Miao, Franco CAWS:EX wrote: > 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 > > >