The requirement is letting users to upload a list of tickets with something like:
@RequestMapping(value="/tickets", method=RequestMethod.POST)
public void uploadTickets(
@RequestBody List<Ticket> tickets) {
// Do something with the list of tickets
}
I know how to upload a single ticket. I just need to create a html form with three fields (section, row, seat) and a submit button. Then spring will automatically convert the uploaded form to a Ticket object. But I am not sure how to upload a list of Tickets with Spring controllers. Any help? Thanks!