struts2的ognl语言中#号作用和%号作用
来源:互联网 发布:网吧维护公司网站源码 编辑:程序博客网 时间:2024/06/05 05:47
struts2的ognl语言中#号作用和%号作用
#号
1.用于直接取根目录中的对象,在struts2中就是contextMap中的request,session ,attr等等对象
2.用于过滤或者反射 <s:if test="#xxx"> ,xxxx.{#this }
3用于构造map #{"xxx":"ddd"}
4根据自己经验,还用来表示一些由<s:set>之类定义的临时页面对象。
%号
%{exp}用来计算exp值代入到页面中,相当于<%=exp%>
- struts2的ognl语言中#号作用和%号作用
- Struts中OGNL表达式的作用
- Struts2 中 OGNL各作用域对象怎么取
- C语言宏中#和##的作用
- C语言中 ##和#的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2中actionsupport的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- struts2 中 Actionsupport 的作用
- ognl表达式中的#%$的作用
- struts2中ognl表达式%$#在jsp页面的使用总结以及<s:a title=%{title}>的作用
- 三年回顾与展望
- 数据转换
- 宏定义swap(X,Y)
- 铁血联盟2源码学习笔记--Makefile边看边学2
- 40个迹象表明你还是PHP菜鸟
- struts2的ognl语言中#号作用和%号作用
- 爱是平等的、无私的、永恒的 - 赵本山
- Windows程序调试--PE文件
- 什么是MVC
- 方向
- POJ1258 Agri-Net
- 如何在运行时控制报表的打印机属性
- 我的java路,一路好走
- 控制台程序怎样改变颜色