String fileName = URLEnprer.enpre(tchCeResource.getRname(), "UTF-8");fileName = URLDeprer.depre(fileName, "ISO8859_1");response.setContentType("application/x-msdownload"); response.setHeader("Content-disposition", "attachment; filename="+ fileName);
希望对您有所帮助:)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)