multipartfile Questions
1
The Spring doc states
@RequestParam relies on type conversion via a registered Converter or PropertyEditor while @RequestPart relies on HttpMessageConverters taking into consideration the 'Content-...
Etheline asked 28/8, 2022 at 18:45
1
Solved
I am receiving a MultipartFile Spring object from rest controller. I am trying to convert any inage file to JPG image but I just need the byte array to save it on mongoDb
I found this code to do th...
Retaliate asked 8/7, 2020 at 17:59
1
© 2022 - 2024 — McMap. All rights reserved.