随笔分类 -  Struts2

摘要:1). Struts2 中使用 type="stream" 的 result 进行下载 2). 可以为 stream 的 result 设定如下参数 contentType: 结果类型 contentLength: 下载的文件的长度 contentDisposition: 设定 Content-Di 阅读全文
posted @ 2016-01-07 21:09 无羁之风 阅读(200) 评论(0) 推荐(0)