struts2.0
iteye_19449
这个作者很懒,什么都没留下…
展开
-
struts2拦截器(转)
Struts2的拦截器和Servlet过滤器类似。在执行Action的execute方法之前,Struts2会首先执行在 struts.xml中引用的拦截器,在执行完所有引用的拦截器的intercept方法后,会执行Action的execute方法。 Struts2拦截器类必须从com.opensymphony.xwork2.interceptor.Interceptor接口继承,在 ...原创 2009-08-18 13:47:35 · 86 阅读 · 0 评论 -
struts.properties文件
[color=red]struts.properties[/color] 这个文件提供了一种更改框架默认行为方式的机制。 在"struts.properties"文件中定义的属性都可以在web.xml文件的[color=red]init-param[/color]标签中进行配置,或者通过struts.xml文件的[color=red]"constant"[/color]标签来修改。 在str...原创 2009-08-24 16:16:39 · 104 阅读 · 0 评论