![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javaee
shanghuzaixian
这个作者很懒,什么都没留下…
展开
-
struts2 convention插件的使用(一)
struts2 convention插件的相关文章在网络上还很少,今天研究了一下官方文档 http://cwiki.apache.org/WW/convention-plugin.html 附件内源码环境(下载请到页尾)Dynamic Web Projecteclipse3.3jdk1.6tomcat6 必要jar列表 ...2009-03-29 23:47:55 · 106 阅读 · 0 评论 -
hibernate bug
转载请注明出处(文章末尾虚线内容必须保留) hibernate中统计报表查询的时候的bug例如 String sql="select count(*),max(age),sum(point) from xxxxxxxx............................"; 查询结果返回一个object[3]的对象数组,且数组元素的的值全部为第一个聚合函...2009-05-15 01:07:25 · 108 阅读 · 0 评论 -
struts2的架构图
struts2的架构图原创 2010-07-22 09:19:35 · 82 阅读 · 0 评论 -
Struts 2框架有两个核心配置文件配置说明
Struts 2框架有两个核心配置文件: struts.xml和struts.properties 其中struts.xml文件主要负责管理应用中的Action映射,以及该Action包含的Result定义等。除此之外,Struts 2框架还包含一个struts.properties文件,该文件定义了Struts 2框架的大量属性,开发者可以通过改变这些属性来满足应...原创 2010-10-12 09:59:16 · 109 阅读 · 0 评论 -
Aware后缀类的作用
Aware为感知的意思, struts检测action是否实现了Aware借口,如果实现,就会将相应的资源注入到当前action, 即感知Action,将资源IoC到action2010-10-25 11:27:01 · 490 阅读 · 0 评论 -
spring动态数据源配置
AbstractRoutingDataSource是spring实现的一个数据源,负责动态路由数据源的功能,我们仅需要实现determineCurrentLookupKey()方法即可 一,自定义DataSourceContextHolder /** * * 数据源上下文句柄 * <p> * * 在dao或service层通过...2010-10-26 16:29:48 · 99 阅读 · 0 评论