is it possible to send the entire list of objects in a submit form with spring mvc? -


i trying modify , send list of objects using spring mvc.

i want , when click in button triggers form submit, in controller, capture list objects.

unfortunately.. have no idea how this.

so far got this:

<@form:form modelattribute="myobject" method="post" action"somewhere">     <@display:table list=mylist id="myobject">         <@display.column title="name">             ${myobject.name}         </@display>           <@display.column title="value">             here should modify every object input, not sure if work             <form:input path=${myobject.value} id="value" />         </@display>       </@display> </@form:form> 

and @ controller far have this:

@requestmapping (value="myurl" method = request.post) public void mymethod(@modelattribute object myobjects){     here id entire list of objects, myobjects null. } 

any idea how this?

thanks


Comments