1,使用Form表单提交文件 后台使用MultipartFile 接收文件 然后页面跳转至另外一个界面,上传功能都实现了,但是在跳转到另外一个界面刷新的时候,不能实现重新上传,而是直接报错
There was an unexpected error (type=Internal Server Error, status=500).
Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
2,这是我的前台
这是我的后台
这是报错界面
在吗,有个问题。
前台<input type='file'>,后台controller接收到的图片文件如何用文件流的方式传到另外一个项目中啊。
这个怎么接收
qq:554221991 能教下我么