2013/12/10 Mohit Gupta <motgu...@gmail.com>:
> Changing    <input type='hidden'  name ='customer.orders[0].item' value
> ='someItem'/> to  <input type='hidden'  name ='customer.orders.item' value
> ='someItem'/>.
>
> This works but this is how it is supposed to work ?

It is a normal situation, parameters with the same name are passed as an array

http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to