struts2中用interceptor实现权限控制
struts2中用interceptor实现权限控制收藏在jsp servlet中我们通常使用Servlet Filter控制用户是否登入, 是否有权限转到某个页面.在struts2中我们应该会想到他的拦截器(Interceptor), Interceptor在struts2中起着非常重要的作用. 很多struts2中的功能都是使用Interceptor实现的. 需求:简单的登入界面,让用户输
转载
2009-06-10 10:31:00 ·
1899 阅读 ·
1 评论