This is my Controller use SpringMVC, it has 2 params is "file" and "fileDesc":
@RequestMapping(value = "/uploadfiles", method = RequestMethod.POST)
@ResponseBody
public String createResource(@RequestParam("file") MultipartFile[] files, @RequestParam("fileDesc") String fileDesc, Locale locale)
throws IOException, ServiceProcessException {...}
And this is my design in Mule:
I don't know how to get files to get value in controller because data I send to Mule then point to Controler in runtime.
A similar use case has been discussed here .
HTH.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.