![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2EE
文章平均质量分 83
prostore
这个作者很懒,什么都没留下…
展开
-
在struts2中使用拦截器(Interceptor)控制登录和权限
在jsp servlet中我们通常使用Servlet Filter控制用户是否登入, 是否有权限转到某个页面。在struts2中我们应该会想到他的拦截器(Interceptor), Interceptor在struts2中起着非常重要的作用。 很多struts2中的功能都是使用Interceptor实现的。 需求:简单的登入界面,让用户输入用户名、密码、记住密码(remember me)。 如果用转载 2009-05-17 21:55:00 · 708 阅读 · 0 评论 -
Struts 2 plugin architecture
Apache Struts 2 provides a simple plugin architecture so that develpers can extend the framework just by adding a JAR to the applications classpath (in addition to whatever JARs may be required to fu原创 2009-05-20 20:36:00 · 441 阅读 · 0 评论