A colleague and I found a problem recently where if you specify a parameter on the URL which takes you to a Spring-powered form , and then submit that form you end up with multiple values for the same field item in the controller. Example http://localhost/productDetails?serialNumber=12345A Loads the product details form with serial number 12345A and displays the product details User enters a different serial number 98765Z in the serialNumber input box and clicks "Get product details" Application received a serialNumber parameter contain an array of Strings: \["12345A", "98765Z"\] Reason If you use Spring's " tags but don't specify an action the taglib will create one for you in the resulting HTML. This will be the URL that you used to access your form, so if you pass a serialNumber in a GET request, the serialNumber will be part of the action URL as well as a field within your form - hence an array of serial numbers. Solution Another coll
eng mgr / leader / full stack / java / agile / tdd / security / aws / go