You can not get all data related to selected check box directly. You will get only value and your value is assoicated with check box. Check box value is value of primary key from list. So now you have primary key value in your servlet. You need to get this list again in servlet and fetch those values which are connected to the primary values coming from checkbox.