标签:三种方式 struts .com alt ext 方式 定义 客户端 web
介绍struts2:
struts2是一个基于mvc设计模式的web层框架。

详谈struts2的执行流程:

过滤器:过滤的是从客户端向服务器发送的任何请求。
拦截器:只能拦截对Action的访问,可以拦截到Action中的具体的方法。
struts2框架接受和封装jsp页面传递过来的参数:
struts2访问servlet的api三种方式:
struts2的valueStack(值栈):
什么是值栈?

值栈的内部结构:

【ActionContext是action的上下文,通过它可以获得值栈对象】
获得值栈对象的方式:

注意点:

标签:三种方式 struts .com alt ext 方式 定义 客户端 web
原文地址:http://www.cnblogs.com/1315925303zxz/p/6374739.html