By setting up an action mapping with an associated form-bean, the process of setting 
the form-bean properties with value(s) the client provides is an implicit feature of 
the Struts framework.

Going by your question, and your sample code snippet, I would encourage you to take a 
close look at the various samples that ship with Struts and consider reading one of 
the many books that are now available.

Sri
> -----Original Message-----
> From: Alok Pota [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, January 06, 2003 3:55 PM
> To: [EMAIL PROTECTED]
> Subject: Getter/Setter for properties with multiple values (newbie)
> 
> 
> Have an html form with key-value pair text boxes 
> 
> <table>
>     <% for (int i = 0; i < 10; ++i) { %>
>     <tr>    
>       <td>
>         <html:text property="key"/>
>       </td>
>       <td>
>         <html:text property="value"/>
>       </td>
>     </tr>
>     <% } %>
> </table>
> 
> How do I get/set the key and value property in my ActionForm class?
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [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]>

Reply via email to