读书人

Struts2 拦截器学习札记

发布时间: 2012-09-02 21:00:34 作者: rapoo

Struts2 拦截器学习笔记
使用Struts拦截器需要注意的地方:
Struts2拦截器类必须从com.opensymphony.xwork2.interceptor.Interceptor接口继承,在Intercepter接口中有如下三个方法需要实现:


在提交到后台Action时,如果Action中有一个属性:
 

读书人网 >编程

热点推荐