How can I handle multipart/form-data POST requests in my java servlet?

前端 未结 3 589
情话喂你
情话喂你 2020-12-07 02:28

I\'m having a very hard time dealing with multipart/form-data requests with my java application server. From what I have found out, the servlet 3.0 specification provides m

3条回答
  •  感动是毒
    2020-12-07 02:43

    when we used post method than data are encrypted so we have to used servletfileupload to get requested data and using FileItemIterator we can get all form data.

    i already answer on this link How to process a form sent Google Web Toolkit in a servlet

提交回复
热议问题