I guess you should better use the "collection" attribute instead of "name". See http://struts.apache.org/userGuide/struts-html.html#options
Pavel On Thu, 17 Feb 2005 14:05:06 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > > > HI, > > I have one doubt regarding the use of html:options tag. > > In the jsp itself I have got a set of values like List questions= "SOME > VALUE OBTAINED FROM THE DATABASE- ie name value pairs". > > In the jsp I have a html:options tag. <html:options name=" <%= questions > %> " property="What do I give here " labelProperty=" What do I give here > to obtain the labels "/> > > I don't have any entries in the form bean for the collection . Only > entry I have in the form bean corresponds to the property name I have > given in the select tag. > > Can anyone help > Regards, > Krishna MOhan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]