you only have one double quote after 'newDate = "@>' change it to 'newDate = "";@>'
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Cho
Sent: 27 November 2001 20:46
To: [EMAIL PROTECTED]
Subject: what's wrong with this piece of code

Hi all,
 
need a hand....I'm getting errors of :
 
.........java:751: String not terminated at end of line.
                              newDate = "
                                        ^
.........java:757: String not terminated at end of line.
                              ";
 
for this code
 
 
 
<%
 String newDate = new String();
 newDate = "%><jsp:getProperty name="lineItem" property="date" /><%";
 
%>
 
 
can you point out what i'm doing wrong please?
 
 
Thanks,
 
Eric

Reply via email to