标签:alt 技术 servlet etc span buffers 动态 let eal
前三个动态提供 一般后面的两个就是用struts预设 1024b 即2Kb contentType="text/html"; contentDisposition="attachment;filename=date.html"; ServletContext context=ServletActionContext.getServletContext(); String fileName=context.getRealPath("/files/date.html"); inputStream=new FileInputStream(fileName); contentLength=inputStream.available(); <result type="stream"> <param name="bufferSize">2048</param> </result>
标签:alt 技术 servlet etc span buffers 动态 let eal
原文地址:http://www.cnblogs.com/znsongshu/p/6282808.html