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]

Reply via email to