摘要: 一、值栈(ValueStack) 1.实现类:OGNLValueStack 2.对象栈:CompoundRoot(针对的是类级别的) (1)继承自 ArrayList —— 先进后出 (2)提供了栈的几个操作:peek() 返回栈顶对象,pop() 弹出栈顶对象,push() 将对象压入栈顶 (3) 阅读全文
posted @ 2016-07-06 11:06 solverpeng 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 一、请求与响应 Action1.含义:(1) struts.xml 中的 action 元素,也指 from 表单的 action 属性,总之代表一个 struts2 请求。(2) 用于处理 Struts2 请求的 Action 类 2.Action 类(1) 使用 setXxx() 方法和 get 阅读全文
posted @ 2016-07-06 10:55 solverpeng 阅读(1150) 评论(0) 推荐(0) 编辑