I have two input field in view

```
<input name="test[]" type="text" value="one">
<input name="test[]" type="text" value="two">

```

in controller 

```
public String store(@Context HttpServletRequest request) {
 // now i get only last value
 String[] array = request.getPerameter("test");

} 

```

in PHP i can value as array using same way.