ssh notes
来源:互联网 发布:wow.js下载 编辑:程序博客网 时间:2024/06/07 14:09
1. valuestack存值
ActionContext.getContext().getValueStack().set("list",list);
集合用set
ActionContext.getContext().getValueStack().push(bean);
对象用push
2.Struts2标签的使用<s:>
value的取值只有在 `<s:property>` 或`<s:date>` 中是不需要使用`%{}` 而可以直接取值。例:`<s:property value="currPage"/>`其他的都需要使用`%{}` 来把内容强制解析成ognl表达式的形式。例:`<s:textfield name="ename" value="%{model.ename}"/>`
阅读全文
0 0
- ssh notes
- Notes
- notes
- Notes
- notes
- notes
- notes
- notes
- Notes
- notes
- Notes
- notes
- Notes
- notes
- Notes
- Notes
- Notes
- notes
- winform控制text只能输入数字
- 最大子序列和
- The C Programming Language 练习题4-6
- 从零开始开发Android版2048 (八)
- 关于Http一些基础知识的学习
- ssh notes
- 鸡兔同笼
- Spring 配置 注解[一]
- linux中配置zookeeper开机自启动---简单有效
- 《mysql 必知必会》整理1
- Android应用程序内存分析工具
- LeetCode 08:string to int(atoi)(C++实现)
- Java中String类的方法和说明
- 随机生成数的方法