It gives a message errorNo data found. But when I give a name to the value. The servlet is working. Is there any way I cant give the rs.getString (data) to the value.
----- Original Message -----
Sent: Friday, January 04, 2002 12:22 AM
Subject: Re: Servlet - Value of a checkbox

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

Reply via email to