can you pls explain me how i can an ArrayList here once the form is getting submitted. i set the selected types into a string set it is value of a hidden input. Therefore can this be done if this is an ArrayList?