Hi,
I have a form JSP web page, this form contains multiple instances of the same Java object, I am using Java Spring Framework to control the "communication" with the controller and the view.
My problem is that i would like to be able to receive from the view a simple array containing the instances of my objects wich are currently on the page (on wich were probably modified).
When i want a specific kind of item, I usually just name it in my controller's method declaration, however for an array (or any Collection), this won't work.
so something like:
@RequestMapping
public String edit(...SomeObject[] objectName, ...){
}
would just return me an error, i can however receive an array of String, so this works:
@RequestMapping
public String edit(...String[] objectString, ...){
}
the goal would be to be able to make Spring automatically map the object thanks for your answers!