PLz. Note that u have not entered any space between
"item" & value
name=item" + "value="+rs.getString("book")

--- Rohan Shrinivas Desai <[EMAIL PROTECTED]>
wrote:
> what exactly happens when u say it isn ot working ?
>     any exception ??
>     kindly let us know  so that we can suggest
>
> -----Original Message-----
> From: Wasala Mudiyanselage Nilantha Piyasiri
> [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 05, 2002 3:53 AM
> To: [EMAIL PROTECTED]
> Subject: Servlet - Value of a checkbox
>
>
> Dear All,
>
> Following line is not working. Could I use
> rs.getSrting to give the value to
> checkbox. Please help me
>
> out.println ("<tr><td><input type=checkbox
> name=item" +
> "value="+rs.getString
> ("book")+"></td><td>"+rs.getString
> ("ID")+"</td><td>"+rs.getString
>
("book")+"</td><td>"+rs.getDouble("price")+"</td></tr>");
>
>
> Regards,
>
> Nilantha
>
>


=====
luv,
sandy

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

___________________________________________________________________________
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

Reply via email to