I am using html
ptions to display a list of values retrieved from DB.
My
JSP looks like:
<html:select property="sponsor">
<html
ptions collection="sponsorList" property="value" labelProperty="label"/>
</html:select>
where sponsorList is the name of an attribute in reqeust scope, and is set by the action class; sponsorList is basically an ArrayList of LabelValueBeans.
When I run my web app, the exception says:
javax.servlet.jsp.JspException: Cannot find bean under name sponsorList
org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:374)
org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:185)
Can someone please help? Thank you.