That would work if I was using an action to populate the ${treatments} variable.
But I am not. The variable is populated via a custom tag and the page is directly accessed, not via an Action. Thanks for the info though. I do use that method in other places. -- Sloan -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 1:31 PM To: Struts Users Mailing List Subject: Re: <html:select value=(multiple values) From: "Seaman, Sloan" <[EMAIL PROTECTED]> > I'm using the html:select tag in a jsp page and I want the set the selected > values via the value attribute but I'm not sure how to do it if my > <html:select/> allows multiples. In the Action, set the corresponding property in the form bean (which is probably a String[] or a List) to the values you want to show as selected when the page is rendered. The Struts framework will automatically mark the correct items as 'selected'. -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]