struts2 Action向页面传参
来源:互联网 发布:fifa online 3数据库 编辑:程序博客网 时间:2024/06/06 01:35
程序中写 this.addFieldError("desc","desc is error");
jsp页面:
<s:fielderror fieldName="desc" theme="simple"/>
<s:propery value="errors.name[0]"/>
以上2者的区别<s:fielderror fieldName="desc"/> 有自己的显示方式--------》 查看源码
Struct2标签:
要使用标签时必须<%@taglib uri="/struts-tags" prefix="s"%>
"/struts-tags在jar 包里面 :struts-tags.tld
<s:debug></debug>
s:property 取value stack和context中的值
- struts2 Action向页面传参
- Struts2:通过action标签向页面传值
- Struts2:通过action标签向页面传值
- Struts2:通过action标签向页面传值
- Struts2:通过action标签向页面传值
- Struts2:通过action标签向页面传值
- struts2页面向action提交list对象
- struts2页面向action提交list对象
- Action向页面传值
- Struts2的简单使用(四)action向页面传值
- struts2,jsp页面向action提交list对象
- STRUTS2--JSP页面向Action中Set类型成员中传值
- struts2 jsp页面向action提交list对象
- struts2.0中页面向action类传值三种方法
- Struts2 jsp页面向 action传参(三种)
- Struts2的简单使用(二)页面向action传值
- struts2从action向jsp传参数
- Struts2向action传对象数组
- Css彩蛋:csdn页面调整 不要吓一跳噢
- 关于网络的书籍
- csdn先来个郁闷的!
- TortoiseSVN使用简介
- 句柄
- struts2 Action向页面传参
- REST Server返回图片流
- 你能知道结果是多少么
- MACHART常用属性总结
- 深入讨论C++的enum
- WIN7下点击安全删除硬件没反应解决办法
- 如何用天干地支计算年月日时?
- ubuntu user add
- C语言今日练习试题(主要练习英文阅读能力)