String path=new String(request.getParameter("excel").getBytes("ISO8859-1"),"gbk");不能传递中文?
结果吧这句话改为:
String path=request.getParameter("excel");
之后就可以使用中文文件。
汗啊。。。。
开发环境:Myeclipse + tomcat6.0+ sqlserver
String path=new String(request.getParameter("excel").getBytes("ISO8859-1"),"gbk");不能传递中文?
结果吧这句话改为:
String path=request.getParameter("excel");
之后就可以使用中文文件。
汗啊。。。。
开发环境:Myeclipse + tomcat6.0+ sqlserver