the Data From database is displayed correctly but i need to a check box in front of each row and when i check that check box entire row date has to be selected and passed to servlet can any one please help me out with detailed code .Thanks in Advance ..
In terms of data structure design, I think you could do a lot better than an array list of individual properties.
Why not use an Object with those 11 or so properties you want to display, and have a list of those objects?
That would make the page a lot simpler - removing the need for all of those if statements, and the tracking of i/j/k.
In terms of adding a checkbox, the approach I would take is to have a standard checkbox, the value being something which can identify the row.
I wouldn't necessarily pass all the information in that same row, just the value required to identify which one is being worked with.
Normally that would just be an id of some sort. Would the Order Number suffice?
subject: Problem in Creating Check Box and Passing Entire Row Data to Servlet