![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
struts2
神探亨特毛
这个作者很懒,什么都没留下…
展开
-
Struts2 中拦截器和Action的调用关系
此文章参考自:http://wenku.baidu.com/view/eca714ccad51f01dc281f1d2.html 所谓的拦截器就是指实现了Interceptor接口的类,该接口中定义了三个方法:init(),destroy(),intercept()。 init()用于在服务器启动的时候,初始化这个拦截器。destroy()用于清理分配给拦截器的资源,i转载 2013-07-25 11:13:15 · 2188 阅读 · 0 评论 -
struts2框架struts.xml配置文件详解
DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd" > struts> include节点是struts2中组件化的方式 可以将每个功能模块独立到一个xml配置文件转载 2013-07-25 16:43:15 · 2992 阅读 · 0 评论