I have an EAR file deployed under
JBoss 4.0.2, running JDK1.5 on OS X. I am getting the following error from this line in my
JSP:
<html:select property="state" tabindex="14" >
<html
ption value="">Select</html
ption>
<html
ptions collection="states" property="value" labelProperty="value"/>
</html:select>
where "state" is a collection in the session.
Here is the error:
javax.servlet.jsp.JspException: No getter method available for property value for bean under name states
at org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:252)
I have the struts-html.tld in the appropriate JAR file contained in the EAR. I also have the struts-1.1.jar file in both my deploy/lib/ and in the EAR file.
The object that is being used to display is the ValueBean. I can't say I know what is causing this - the libraries appear to be there. The previous "html:text" instances are not throwing an error.
thank you for any advice or pointers you can share with me.