2016年6月10日

request对象的getAttribute()和getParameter()方法

摘要: HttpServletRequest类既有getAttribute()方法,也由 getParameter()方法,这两个方法有以下区别: (1)HttpServletRequest类有setAttribute()方法,而 没有setParameter()方法 (2)当两个Web组件之间为链接关系时 阅读全文

posted @ 2016-06-10 15:58 我表情悠哉 阅读(407) 评论(0) 推荐(0) 编辑

struts-值栈

摘要: 1. 关于值栈: helloworld时, ${productName} 读取productName 的值,实际上该属性并不在request 等域对象中,而是从值栈中获取的 ValueStack: 可以从ActionContext 中获取值栈对象 值栈分为两个逻辑部分 Map栈: 实际上OgnlCo 阅读全文

posted @ 2016-06-10 15:52 我表情悠哉 阅读(136) 评论(0) 推荐(0) 编辑

导航