I am outputting the contents of a product from a product object(containing catalog no, product name, vendor, price, quantity(a textbox) and a checkbox(to select the product)) as a tabular display. When a user checks a checkbox(indicating the product checked), I get the values into a servlet. However, when I have to get the qty(which is a text box array), I am unable to get values for which the product checkbox is checked. Instead , I get the values of the qty for all products on the page irrespective of whether they are checked or not. How can I modify this behavior so that I only get the qty values for the products that are checked and added to cart?
Edited by raghujosh: n/a