随笔分类 -  struts

摘要:转: 解决办法:Access restriction: The type JPEGImageEncoder is not accessible due to restriction 2011年11月27日 20:17:40 IT面试社区 阅读数 29477 2011年11月27日 20:17:40 阅读全文
posted @ 2019-08-12 09:41 戈博折刀 阅读(198) 评论(0) 推荐(0)
摘要:转: struts2拦截器interceptor的配置方法及使用 (2015-11-09 10:22:28) 转载▼ struts2拦截器interceptor的配置方法及使用 转载▼ 标签: it 365 分类: Struts2 it 365 NormalText Code 1 2 3 4 5 6 阅读全文
posted @ 2019-02-25 09:51 戈博折刀 阅读(2546) 评论(0) 推荐(0)
摘要:为了避免发送数据中有特殊字符,发送时用 encodeURIComponent 编码 (其实这个 if中是直接通过浏览器下载文件的方法,else是向后台传数据的方法) struts后台Action处理接收到的数据,经过转换后生产一个文件,写回到前台的方法 接收到数据后首先 url解码 然后经过处理后, 阅读全文
posted @ 2018-12-25 17:22 戈博折刀 阅读(349) 评论(0) 推荐(0)
摘要:注意:我遇到的问题原因是:不但成员变量中要有 imageStream 变量,同时 还要 有 对应的 get set 方法 具体可以参考下面: struts2文件下载出现Can not find a java.io.InputStream with the name的错误 2011年08月16日 08 阅读全文
posted @ 2018-12-19 16:09 戈博折刀 阅读(458) 评论(0) 推荐(0)
摘要:struts2 - View页面中获取Action的成员变量 2016年03月02日 11:04:44 IT男青年 阅读数:1074 2016年03月02日 11:04:44 IT男青年 阅读数:1074 View页面中获取Action的成员变量 按照Struts的设计,在Action处理完后,把结 阅读全文
posted @ 2018-12-10 10:16 戈博折刀 阅读(402) 评论(0) 推荐(0)