org.apache.myfaces.custom.fileupload.UploadedFile;
private UploadedFile _file;
System.out.println(_file.getName()+" ??? "+_file.getContentType());
private UploadedFile _file;
System.out.println(_file.getName()+" ??? "+_file.getContentType());
为什么是
new String(_file.getName().getBytes("ISO-8859-1"),"GBK") 这样不行
难道你的页面编码是ISO-8859-1?!