From: "Wasala Mudiyanselage Nilantha Piyasiri" <[EMAIL PROTECTED]>
> I placed space between item and value as shown below. But still the
problem
> persisting. But when I hard coded the value it is giving the required
value.
>
> out.println ("<TABLE>");
>    while (rs.next()){
>                                 out.println("<form method=POST
> action=http://localhost:8080/examples/servlet/cartExample>");
>     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>");}
>     out.println ("</table>");
>     }

Make sure you don't have any loose carriage returns in your source
document. It may be your mail formatting but it looks like you might have
one after the open quote of the value attribute.


Nic Ferrier

___________________________________________________________________________
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