// 文件上传类的判断
String contentType = controller.getRequest().getContentType();
if(contentType !=null && contentType.toLowerCase().contains("multipart")){
controller.getFile();
}
jfinal 判断是否是multipart类型
最新推荐文章于 2023-10-11 22:06:41 发布
// 文件上传类的判断
String contentType = controller.getRequest().getContentType();
if(contentType !=null && contentType.toLowerCase().contains("multipart")){
controller.getFile();
}