Hi ,
on jsp use this code
<html:select property="contact" >
<html: optionsCollection property="listOfContact" >
</html:select>
Now in ActionForm (bean which form is using)write setter and getter for String "contact" and List "listOfContact".
after in constuctor of ActionForm write logic=
public constuctorName() {
listOfContact=new ArrayList();
listOfContact.add(new LabelValueBean("1","Printing media"));
listOfContact.add(new LabelValueBean("2","Radio"));
listOfContact.add(new LabelValueBean("3","T.V."));
}
u have to import package:
import org.apache.struts.util.LabelValueBean;
when u run jsp list will come on page.
