Originally posted by Chen Nee Lim:
thanks Jeanne.
Can you tell me how to solve this problem?
In a
servlet call request.getParameterValues(). Loop through those results, calling a
JDBC update statement for each one.
To improve performance, you could use a JDBC batch statement. For questions about JDBC, feel free to post in our JDBC forum after taking a look at the
JDBC tutorial.
Also note that you will need to merge the two parameters into one so they get submitted together. A common technique is to format them as partId_quantity and tokenize that on the server.