posted 10 months ago Welcome to the Ranch, Charles!
I'm the annoying person who has to nit-pick what people say. In this case, I just wanted to say that what you're dealing with isn't "Spring 6" as such, It's Spring Web 6.
Spring is a general framework with many modules, and Spring Web is one of them, but the reason I make the distinction is that I use JavaServer Faces with Spring as my web UI framework, not Spring Web.
As to your actual problem, it looks like you're attempting to use a variable expression in some of your "id=" tag attributes. As a general rule, you cannot do that. The id attribute is a magic XML attrbute and JEE EL isn't accepted in an id value.
On the other hand, you shouldn't need to have a variable ID, Just because it's in a loop. There are mechanisms that handle that as part of the conversion from page template (JSP) to HTML. Plus, you don't transmit form data values by id, you do it by the control's name attribute.
Finally,, when you have multiple values being transmitted under the same name, what you should be seeing on the server side is an array of values. So they all come in under the same name, but the name references an array rather than a simple value.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer