
Struts2
妖月风
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Struts1与Struts2有哪些区别?
1.Action类 在Action实现类方面的对比:Struts 1要求Action类继承一个抽象基类;Struts 1的一个具体问题是使用抽象类编程而不是接口。 Struts 2 Action类可以实现一个Action接口,也可以实现其他接口,使可选和定制的服务成为可能。Struts 2提供一个ActionSupport基类去实现常用的接口。即使Act转载 2016-04-03 17:05:07 · 273 阅读 · 0 评论 -
strust2的请求运行流程
1、客户端发送请求 2、通过web.xml后调用StrutsPrepa 2、请求先通过ActionContextCleanUp(它主要清理当前线程的ActionContext和Dispatcher),之后执行FilterDispatcher(主要通过AcionMapper来决定需要调用哪个Action)。 3、FilterDispatcher通过ActionMapper来决定这个Reque原创 2016-03-30 18:14:18 · 561 阅读 · 0 评论 -
jstl格式化时间
标签介绍: 后台: request.setAttribute("today",new Date()); 前台: http://java.sun.com/jsp/jstl/fmt %> //不写type属性,和type="date"等价 //type的默认值转载 2016-08-11 15:07:31 · 396 阅读 · 0 评论