摘要: 文件下载 1.写action类 2.配置struts.xml 查看源码发现要以流的方式返回给客户端需要配置3个参数 上面那张图流写is根本调用不了getInputStream的方法要把is变量名更改为inputStream才可以。 下载完成 struts的OGNL OGNL是Object Graph 阅读全文
posted @ 2019-07-09 23:31 train99999 阅读(190) 评论(0) 推荐(0) 编辑
摘要: java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [is] in the invocation stack. Check the tag specified for this ac 阅读全文
posted @ 2019-07-09 11:25 train99999 阅读(273) 评论(0) 推荐(0) 编辑