It looks like you are missing a "+" sign. See
below.
-----Original Message-----
From: Kwan, William [mailto:[EMAIL PROTECTED]]
Sent: Monday,
December 17, 2001 6:26 PM
To: [EMAIL PROTECTED]
Subject:
printing html code from servlet
Hi everyone,
I'm trying to
create an html page from a servlet but I get the
following
error:
<identifier> expected.
Here is some
code:
while
(rsmodel.next())
{
out.println("<option value='" + rsmodel.getString(2) + "'"+"
Selected>" +
rsmode.getString(3));
}
out.println("</select>");
^
error
out.println("</td>");
^
error
thanks,
Will
___________________________________________________________________________
To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of
the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV
Help: http://www.lsoft.com/manuals/user/user.html
- printing html code from servlet Kwan, William
- Re: printing html code from servlet Rama
- Godbey, David
