I believe what you want is "checkbox" right? radio only has one value simply declare an instance property in your action
private String[] names; and public getter setters for it and in your html just do <input name="names" type="checkbox" value="1"> <input name="names" type="checkbox" value="2"> .... and so on I have only tried with String[] not sure about other data types