Change the attribute "name" to "collection" and it should work.
This tag operates in one of two major modes, depending on whether or not the |collection| attribute is specified. If the |collection| attribute is included, the following rules apply: * The *collection* attribute is interpreted as the name of a JSP bean, in some scope, that itself represents a collection of individual beans, one per option value to be rendered. * The *property* attribute is interpreted as the name of a property of the individual beans included in the collection, and is used to retrieve the value that will be returned to the server if this option is selected. * The *labelProperty* attribute is interpreted as the name of a property of the individual beans included in the collection, and is used to retrieve the label that will be displayed to the user for this option. If the |labelProperty| attribute is not specified, the property named by the |property| attribute will be used to select both the value returned to the server and the label displayed to the user for this option. [EMAIL PROTECTED] wrote: >hi all, > >I am getting the following exception in html:options tag. > >[ServletException in:/jsp/EditServerBody.jsp] No getter method available >for property value for bean under name nngList' > >This is how I am using it > ><html:options name="nngList" property="value" labelProperty="label"/> > >Where nngList is of type Vector and it contains elements of type >OptionValue which has getValue() and getLabel(). > >Anything else I am missing. > > >Kamal > >============================================================ >The information contained in this message may be privileged >and confidential and protected from disclosure. If the >reader of this message is not the intended recipient, or an >employee or agent responsible for delivering this message to >the intended recipient, you are hereby notified that any >reproduction, dissemination or distribution of this >communication is strictly prohibited. If you have received >this communication in error, please notify us immediately by >replying to the message and deleting it from your computer. > >Thank you. >Tellabs >============================================================ > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>