Geting HTTP Status 400 - Required MultipartFile parameter 'file' is not present in spring

后端 未结 3 412
小蘑菇
小蘑菇 2021-01-12 14:14

I am trying to upload a file using spring. Below is my code how I am working on it but if I try to use it I am getting this response:

HTTP

3条回答
  •  佛祖请我去吃肉
    2021-01-12 14:38

    it works for me after i wrote in that input box name of the parameter "file" when i already have well configured the bean id in the Krajee bootstrap inputfile example ("https://github.com/kartik-v/bootstrap-fileinput").

提交回复
热议问题