Try this.
In your Action:
ArrayList months = new ArrayList();
months.add(new LabelValueBean("January", 1);
months.add(new LabelValueBean("Februrary", 2);
request.setAttribute("months", months);
In your JSP:
<html:select property="yourFormProperty">
<html:options collection="months" property="value" labelProperty="label" />
</html:select>
HTH,
-= J
> "sjones" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Good Morning Everyone.
> >
> > I have a List object and i need my JSP page
> > to build a drop down list box using the List as the source
> > for the options.
> >
> > I can do it with a scriplet but i need to one of the struts tags
> > <html:options>
> > <html:optionsCollection>
> >
> > can anyone help me with use one of these tags.
> >
> > I am looking at the java.docs but it doesn't really help me.
> >
> > the List is also accessible from a classs name EqualityOperators
> >
> > List o = EqualityOperators.getOperators();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]