I am trying a modified example from a book. It is a shopping cart page. When i hit the update quantity button on the first line item the quantity updates correctly. Any other line item below that doesnt update. I have the form tags outside of the loop right now. I tried putting the form tags within the loop and i can then update all the line items. However in the book example the form tags are outside of the loop. Which is the corrcet way to do this? is it ok to have multiple form tags within the loop or is there a better way to do this?
JSP code
Servlet [ September 22, 2008: Message edited by: John Schretz ]