out.println ?
Source code: --- out.println(""http://localhost/adduser.jsp";>You have no account here, please register one!""); 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
RE: out.println ?
first of all your syntax is wrong... it should be like this : out.println("You have no account here, please register one!"); If it doesn't work then try with : out.write("You have no account here, please register one!"); this will definitely work..(even "out.println" also works...) regards, Chintan -Original Message- From: Miao, Franco CAWS:EX [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 10:05 AM To: '[EMAIL PROTECTED]' Subject: out.println ? Source code: ---- --- out.println(""http://localhost/adduser.jsp";>You have no account here, please register one!""); 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
Re: out.println ?
hi, use this! out.println("http://localhost/adduser.jsp\";>You have no account here, please register one!"); - 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(""http://localhost/adduser.jsp";>You have no account > > here, please register one!""); > > > > 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 >
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("http://localhost/adduser.jsp\";>You have no account here, please register one!"); - 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(""http://localhost/adduser.jsp";>You have no account > > here, please register one!""); > > > > 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 >
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("http://localhost/adduser.jsp\";>You have no account here, please register one!"); - 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(""http://localhost/adduser.jsp";>You have no account > > here, please register one!""); > > > > 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 >
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("http://localhost/adduser.jsp\";>You have no account here, please register one!"); - 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(""http://localhost/adduser.jsp";>You have no account > > here, please register one!""); > > > > 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 >
RE: out.println ?
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("http://localhost/adduser.jsp\";>You have no > account > here, please register one!"); > > > > - 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(""http://localhost/adduser.jsp";>You have no > account > > > > here, please register one!""); > > > > > > > > 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 > > >
Re: out.println ?
Hi, Could you send me a snapshot of your code ? Adrian - Original Message - From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 22, 2001 6:45 AM 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("http://localhost/adduser.jsp\";>You have no > account > here, please register one!"); > > > > - 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(""http://localhost/adduser.jsp";>You have no > account > > > > here, please register one!""); > > > > > > > > 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 > >
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("http://localhost/adduser.jsp\";>You have no account here, please register one!"); - 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("http://localhost/adduser.jsp\";>You have no > account > here, please register one!"); > > > > - 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(""http://localhost/adduser.jsp";>You have no > account > > > > here, please register one!""); > > > > > > > > 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 > >
RE: out.println ?
that's right use ..println("message..."); instead of ..println("message..."); Also you can try this one ..println('message...'); Bye, -Mensaje original- De: Adrian Caramarin [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 22 de octubre de 2001 8:40 Para: [EMAIL PROTECTED] 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("http://localhost/adduser.jsp\";>You have no account here, please register one!"); - 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("http://localhost/adduser.jsp\";>You have no > account > here, please register one!"); > > > > - 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(""http://localhost/adduser.jsp";>You have no > account > > > > here, please register one!""); > > > > > > > > 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 > >
Re: out.println ?
try out.println("http://localhost/adduser.jsp\";>You have no "+ "account here, please register one!"); 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("http://localhost/adduser.jsp\";>You have no > account > here, please register one!"); > > - 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("http://localhost/adduser.jsp\";>You have no > > account > > here, please register one!"); > > > > > > > > - 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(""http://localhost/adduser.jsp";>You have no > > account > > > > > > here, please register one!""); > > > > > > > > > > > > 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 > > >