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 ?
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: How can I...
Hi Bo, I ran into this problem once. I think all you need to do to is to set up your JAVA_HOME environment properly, that means use SET JAVA_HOME=C:\JDK1.2.1 instead SET JAVA_HOME=C:\JDK1.2.1\BIN. Try that, should work. Adrian - Original Message - From: "Bo Xu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 17, 2001 11:10 PM Subject: Re: How can I... > blanchard nike wrote: > > > Good Day, > > I am learning servlet programming, using > > Jakarta-Tomcat 3.2.3 container. But I have the thing > > stopped because it seems I am failing in setting > > JAVA_HOME to point to my jdk installation. I tried the > > setting in the autoexec.bat this way: > > SET JAVA_HOME=C:\JDK1.2.1\BIN > > it did not work, and I tried in the command line this > > way: as it is said in the user guide; > > C> set JAVA_HOME=c=\jdk1.2.1\bin still it did not work > > and the same error message appears: "Set JAVA_HOME to > > point to your jdk installation". I am confused; I have > > the jdk working perfectly with applets. What can I do? > > What shall I type and where to fix up this? > > Also it is said I must add the java compiler to my > > PATH. Could you help me with this please? > > I would really appreciate your help, thanks > > beforehand. > > I am using Win 98. > > Regards > > set JAVA_HOME=C:\jdk1.3.1 > set JAKARTA_HOME=C:\jakarta-tomcat-4.0 > > and in my win98 PC, if I *also* set PATH=C:\jdk1.3.1\bin, I found I > can not run "startup.bat" (it doesn't lauch the second dos-prompt). > > Bo > Oct.17, 2001 > > >