1:在tomcat的conf/service.xml中设置 URIEncoding="UTF-8"
2. controller中控制:
//防止出现中文乱码 fileName=new String(fileName.getBytes(),"UTF-8");
1:在tomcat的conf/service.xml中设置 URIEncoding="UTF-8"
2. controller中控制:
//防止出现中文乱码 fileName=new String(fileName.getBytes(),"UTF-8");