Hi all,
I tiered of html:select and html

ptions or html

ptionsCollection tags...
I have FORMBEAN
for example
TestFormBean
{
String name:
int id;
getter and setter methods
}
ACTION CLASS
{
ArrayList testList = DaoClass.getArrayList();
request.setAttribute("testList",testList);
}
DAO CLASS
{
ArrayList testList;
TestFormBean testFormBean;
while(next)
{
testFormBean = new TestFormBean();
testFormBean.setName(rs.get('name'));
testFormBean.setId(rs.get('id'));
testList.add(testFormBean);
}
return testList
}
so arrayList contains objects of formbean.
i am not getting what to write in all thease props..which make drop down list of db values
and when user submit this dropdown it will automatically sets the formbeans values so we can get the user selected value...
now in jsp
<html:select property='???'>
<html

ptions collection='?' name='???' value='???'/>
</html:select>
please help me..
thanks in advance