posted 10 years ago
Hey Guys,
I need a solution for this scenario:
I have a form that contains almost 15-20 fields. I have from 0 to 3 files that can be upload.
I would like to use Ajax Call with Spring. In my form.jsp, I'm using the commandName "client".
I'd like to see if there's a way to bind all the values using @ModelAttribute("client") @Valid Client client AND using some @RequestParam("fileUpload1") Mutilpartfile file1 together. Because doing all with requestParam I don't thing will be a good idea since it's to much information.
Thank you so much guys,