tags:

views:

18

answers:

1

In my action class I have an array of String (String[]) field with default getter and setters. Then I have a form that calls this action from a jsp page but I can't figure out how to pass the whole array into the action. I am using the and tags. Just passing the whole array into the tag doesn't work and when I use a loop and pass a single string into the tag (even though the setter takes a String[] and not String) the action class only gets the last value. In the jsp the array is being populated through a pure html element tag.