It does this because it needs to pull the value as a property from the bean in order to determine what value to make "selected" in the list box.
If you don't want this to be pulled from the bean, then just use regular HTML tags. Trever ----- Original Message ----- From: "Kilmer, Erich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 1:04 PM Subject: Html:select question > In the struts example struts-select.jsp there is this code: > <html:select property="singleSelect" size="10"> > <html:option value="Single 0">Single 0</html:option> > <html:option value="Single 1">Single 1</html:option> > ... > <html:option value="Single 9">Single 9</html:option> > </html:select> > > When I try this code: > <html:select property="status" size="2"> > <html:option value="enabled">Enabled</html:option> > <html:option value="disabled">Disabled</html:option> > </html:select> > > I get: > 500 Internal Server Error > javax.servlet.jsp.JspException: No getter method available for property > status for bean under name org.apache.struts.taglib.html.BEAN > at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:304) > at /input.jsp._jspService(/input.jsp.java:322) (JSP page line 98) > at com.orionserver[Orion/1.5.2 (build > 10460)].http.OrionHttpJspPage.service(Unknown Source) > > Why? I want status to be the name of the request parameter that is sent > back. Why does Struts think this is a bean property? > > Should I use something other than property? > TIA, > > Erich Kilmer > Bell+Howell > RTP, NC >