ebrad
Oct 15th, 2007, 01:10 PM
I'm fairly new to Spring and I've been tasked with writing a portlet for Jihia using Spring MVC. Anyway, is there a way to use a String array in my command object and map it to a number of inputs with the same name?
I'm used to using struts and with struts if you had something like this:
<form:input path="qty" />
<form:input path="qty" />
<form:input path="qty" />
<form:input path="qty" />
It would map to a String array in the action form with the name of "qty". How can I do something similar with Spring?
I'm used to using struts and with struts if you had something like this:
<form:input path="qty" />
<form:input path="qty" />
<form:input path="qty" />
<form:input path="qty" />
It would map to a String array in the action form with the name of "qty". How can I do something similar with Spring?