导航

2013年11月4日

摘要: 1 HttpServletResponse response = ServletActionContext.getResponse(); 2 response.addHeader("Content-Disposition","attachment; filename="+ new String(name.getBytes(),"utf-8")); 3 response.setContentType("application/octet-stream"); 4 OutputStream out = response. 阅读全文

posted @ 2013-11-04 14:24 小强有毒 阅读(178) 评论(0) 推荐(0)