摘要: AOP的介绍AOP(Aspect-OrientedProgramming,面向方面编程)AOP的几个概念1.切面(Aspect):切面就是一个关注点的模块化,如事务管理、日志管理、权限管理等;2.连接点(Joinpoint):程序执行时的某个特定的点,在Spring中就是一个方法的执行;3.通知(A... 阅读全文
posted @ 2016-01-13 17:16 Aaron殇醉月 阅读(2689) 评论(0) 推荐(0) 编辑
摘要: Struts2整理-----Struts2入门Struts2整理-----Struts2处理流程Struts2整理-----Struts2类型转换Struts2整理-----Struts2拦截器Struts2整理-----Struts2数据验证Struts2整理-----Struts2文件上传和下载... 阅读全文
posted @ 2016-01-13 09:48 Aaron殇醉月 阅读(90) 评论(0) 推荐(0) 编辑
摘要: struts2的拦截器是struts2的核心,其底层实现使用了Java的反射机制与动态代理。实现struts2拦截器的方法1.实现Interceptor接口,实现init(),destory(),intercept()方法。2.继承AbstractInterceptor类,重写intercept()... 阅读全文
posted @ 2016-01-12 17:59 Aaron殇醉月 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Struts2自定义类型转换器分为局部类型转换器和全局类型转换器局部类型转换提供如下格式的文件文件名:ActionName-conversion.properties内容:多个propertyName(属性名)=类型转换器类(含包名),如 date=com.aumy.DateConverter存放位... 阅读全文
posted @ 2016-01-11 17:35 Aaron殇醉月 阅读(144) 评论(0) 推荐(0) 编辑
摘要: struts2处理流程图请求首先通过Filter chain:Filter主要包括ActionContextCleanUp,它主要清理当前线程的ActionContext和Dispatcher;FilterDispatcher主要通过AcionMapper来决定需要调用哪个Action。Action... 阅读全文
posted @ 2016-01-11 15:59 Aaron殇醉月 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.There is no result type defined for type 'chart' mapped with name 'success'在struts2与JFreeChart整合使用时,直接配置如下action 300 400 出现这样的异常:Caus... 阅读全文
posted @ 2016-01-11 11:46 Aaron殇醉月 阅读(818) 评论(0) 推荐(0) 编辑
摘要: Sysbaseiq备份表结构以及数据复制表结构select*intoctestfromcopytestwhere11复制相同表结构数据insertintoctestselect*fromcopytest复制表结构和数据到新表select*intoctestfromcopytestPS:这里Sysba... 阅读全文
posted @ 2016-01-11 09:46 Aaron殇醉月 阅读(469) 评论(0) 推荐(0) 编辑
摘要: Struts2简介struts2是在webwork2基础上发展而来的。和struts1一样,struts2也属于MVC框架。不过有一点需要注意的是:struts2和struts2虽然名字很相似,但是在两者在代码编写风格上几乎是不一样的。那么既然有了struts1,为什么还要推出struts2。主要的... 阅读全文
posted @ 2016-01-08 17:08 Aaron殇醉月 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 转载: http://www.xitonghe.com/jiaocheng/windows8-1067.html http://www.xitonghe.com/jiaocheng/windows8-1067.html 以上都不行的话,试试下面一种方法 在这里面输入命令:msiexec /packa 阅读全文
posted @ 2016-01-06 17:44 Aaron殇醉月 阅读(185) 评论(0) 推荐(0) 编辑