which row in Result selected using seletctBooleanCheckbox and dataTable?

A JSP page display the Result in dataTable. Each row has a selectBooleanCheckbox. Can someone show me how to map which row the user selected from selectBooleanCheckbox to that particular row in Result? Is it a requirement to create a dataModel as a wrapper to Result or can we work directly with Result? There must be a way to provide the mapping without going to the database again, right?

Thanks.

kenneth

[425 byte] By [kenneth_kwwa] at [2007-10-3 1:36:49]
# 1
Just define a wrapper object representing each row and put a Boolean property "selected" in it. Also see http://balusc.xs4all.nl/srv/dev-jep-dat.html
BalusCa at 2007-7-14 18:34:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...