You
cant do it this way. Its mixing client code and server code.
<%
String newDate = new String();
newDate = "%><jsp:getProperty name="lineItem" property="date" /><%";
String newDate = new String();
newDate = "%><jsp:getProperty name="lineItem" property="date" /><%";
%>
Even if you escape the quotes it wont work. If u
need property date of lineItem this way.. just do:
<%
String newDate = lineItem.getDate();
String newDate = lineItem.getDate();
%>
-Tim
-----Original Message-----
From: Eric Cho [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 3:46 PM
To: [EMAIL PROTECTED]
Subject: what's wrong with this piece of codeHi 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
