代码
upload(){ UploadFile uploadFile = getFile(); File file = uploadFile.getFile(); String fileName = file.getName(); { System..println(fileName); } (Exception e) { e.printStackTrace(); } }
用postman测试,post请求,content-type
但是报错:
Caused by: java.io.IOException: Separation boundary was not specified
这是怎么回事啊???
项目:JFinal