How to upload MultipartFile in htmlunit?

后端 未结 0 1297
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-14 08:45

I am using HtmlUnit to upload a file by making a request to the spring controller. The file is of type MultipartFile. Using the below code works only for File Type java.io.File.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题