Hi all
I display a few records on "one.jsp" with a checkbox in the first column.
The checkboxes have the same name while id gets incremented.
The data is in an ArrayList(total) which contains Beans so the rows get the bean.getXXX().
On submit of the SELECT button, i intend to store the selected records(beans of total) into another arrayList(selected).
I have looked up previous posts to find a solution to my problem suggesting the use of request.getParameterValues("checkBoxName") to get the selected checkboxes.
At the point where i check for action in my
servlet i try to get the checked values but it is null.Am i missing anything abt scope(request/session) or something else needs to be done in one.jsp or two.jsp?
String[] checkedValues =req.getParameterValues("SelBox");