what's wrong with this piece of code

2001-11-27 Thread Eric Cho
Hi all,   need a handI'm getting errors of :   .java:751: String not terminated at end of line.  newDate = "    ^.java:757: String not terminated at end of line.  

Re: what's wrong with this piece of code

2001-11-27 Thread Dave Deniman
quotes in quotes... escape the inner quotes   Dave Deniman - Original Message - From: Eric Cho To: [EMAIL PROTECTED] Sent: Tuesday, November 27, 2001 1:45 PM Subject: what's wrong with this piece of code Hi all,   need a handI'm

Re: what's wrong with this piece of code

2001-11-27 Thread Chen, Gin
%> -Tim -Original Message-From: Eric Cho [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 27, 2001 3:46 PMTo: [EMAIL PROTECTED]Subject: what's wrong with this piece of code Hi all,   need a handI'm getting errors of :   .java:751: Stri

Re: what's wrong with this piece of code

2001-11-27 Thread Brian Dame
ges specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Cho Sent: Tuesday, November 27, 2001 3:46 PM To: [EMAIL PROTECTED] Subject: what's wrong with this piece of code Hi all, need a handI'm getting errors of : .java:751: String no

Re: what's wrong with this piece of code

2001-11-27 Thread Billy Chan
Title: RE: what's wrong with this piece of code Actually, I think it's because you're mixing double quotes in your strings and within the tag.  try using single quotes or escaping the double quotes. ie:  String newDate = "%><%"; However, if you just want th

Re: what's wrong with this piece of code

2001-11-28 Thread David S. Moss
ovember 2001 20:46To: [EMAIL PROTECTED]Subject: what's wrong with this piece of code Hi all,   need a handI'm getting errors of :   .java:751: String not terminated at end of line.  newDate = "

Re: what's wrong with this piece of code

2001-11-28 Thread Mattias Jiderhamn
Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 9:59 PMSubject: Re: what's wrong with this piece of code You cant do it this way. Its mixing client code and server code. <% String newDate = new String(); newDate = "%><%"; %>  

Re: what's wrong with this piece of code

2001-11-28 Thread Chen, Gin
-Tim -Original Message-From: Mattias Jiderhamn [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 28, 2001 7:54 AMTo: [EMAIL PROTECTED]Subject: Re: what's wrong with this piece of code No, both are server code, but one is a JSP action (which the server translates to "no

Re: what's wrong with this piece of code

2001-11-29 Thread Billy Chan
OTECTED]Subject: Re: what's wrong with this piece of code No, both are server code, but one is a JSP action (which the server translates to "normal" code) and one is a scriptlet which includes "normal" code.     Mattias Jiderhamn   E