文件下载服务器端response的属性设置

1 response.setContentType("application/x-msdownload");
2     response.setHeader("Content-disposition","attachment;filename=abc.txt");
posted @ 2012-10-29 11:42  欢歌911  阅读(437)  评论(0编辑  收藏  举报