Getting error when using post method in form

前端 未结 1 396
一向
一向 2021-01-27 09:15

I am getting null when I am using post method while passing a form to the next page A repeat of this question link text



Title


        
相关标签:
1条回答
  • 2021-01-27 09:59

    You are encoding your request as multipart/form-data, often used to upload files. The servlet container does not include support to automatically decode this data, only application/x-www-form-urlencoded data (the default). To use multipart/form-data you need a 3rd party MIME parser like Apache commons fileUpload.

    0 讨论(0)
提交回复
热议问题