![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java框架学习
文章平均质量分 63
hql007
这个作者很懒,什么都没留下…
展开
-
Struts2学习_第一个案例
目标:使用Struts2作为控制器,写一个demo处理请求。 /hello.action-->StrutsPrepareAndExecuteFilter-->Action -->Result-->/hello.jsp搭建Struts2环境:在maven工程中添加jar包定义<dependency> <groupId>org.apache...原创 2018-06-11 20:12:58 · 122 阅读 · 0 评论 -
Struts2学习____实现登录拦截器demo
拦截器组件编写----实现Interceptor接口及其约定方法。public class LoginInterceptor implements Interceptor{ public void destroy() { } public void init() { } //方法执行了invoke返回值无效;未执行invoke返回值有效,要根据返回String调用Result pub...原创 2018-06-12 12:06:40 · 149 阅读 · 0 评论