Same thing.
<form-property
name="blah"
type="java.lang.String[]"/>
You can give it an initial="{'','',''}" if u want to give it an initial
size/values.
The beauty of the String[] approach is that with multiple select boxes
Struts will take care of it for you without anything more than you assigning
the property attribute as I showed below.
-Tim
-----Original Message-----
From: Nathan Maves [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 6:16 PM
To: Struts Users Mailing List
Subject: Re: how to collect the values from multiple select box
What about with Dyna Action Forms
Nathan
On Oct 27, 2003, at 4:09 PM, Chen, Gin wrote:
> Simplest way is to have a String[] as your property.
> <html:select property="stringarrayproperty" multiple="true">
> -Tim
>
> -----Original Message-----
> From: Nathan Maves [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 27, 2003 6:02 PM
> To: Struts Users Mailing List
> Subject: how to collect the values from multiple select box
>
>
> how to collect the values from multiple select box?
>
> nathan
>
>
> ---------------------------------------------------------------------
> 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]
>
---------------------------------------------------------------------
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]