WebDev
iteye_9555
这个作者很懒,什么都没留下…
展开
-
SSH整合
【※】struts+hibernate+spring (整合使用)转【※】 Spring 和 Struts的整合使用 Spring 和 Struts的整合有3种方式: 1:通过Spring的ActionSupport类 2:通过Spring的DelegatingRequestProcessor类 3:通过Spring的DelegatingActionProxy类 a:...原创 2010-06-02 14:31:14 · 82 阅读 · 0 评论 -
TransactionAttributeSource,TransactionAttribute
【※】TransactionAttributeSource,TransactionAttribute(转)【※】 [/b][b]每一个方法执行都会应用事务,它回传的transactionAttribute实例的默认传播行为是PROPAGATION_REQUIRED,隔离层级为ISOLATION_REFAULE Java代码 ...2010-06-02 14:33:06 · 859 阅读 · 0 评论 -
web.xml加载过程(步骤):
【※】web.xml加载过程(步骤):【※】 【本文章转至博客:】http://explore.iteye.com/blog/647513 1.启动WEB项目的时候,容器(如:Tomcat)会去读它的配置文件web.xml.读两个节点: 和 2.紧接着,容器创建一个ServletContext(上下文),这个WEB项目所有部分都将共享这个上下文. 3.容器...原创 2010-06-03 10:38:47 · 143 阅读 · 0 评论 -
Java的Filter
过滤器Filter也具有生命周期:init()->doFilter()->destroy(),由部署文件中的filter元素驱动。在servlet2.4中,过滤器同样可以用于请求分派器,但须在web.xml中声明,INCLUDE或FORWARD或REQUEST或ERROR该元素位于filter-mapping中。 一、批量设置请求编码 Java代码 public class ...原创 2010-06-03 16:08:30 · 118 阅读 · 0 评论