struts2 ognl
来源:互联网 发布:mac百度云慢的解决办法 编辑:程序博客网 时间:2024/05/01 22:19
各个符号的意义:
?:获得所有符合逻辑的元素;
^: 获得符合逻辑的第一个元素;
$: 获得符合逻辑的最后一个元素;
作用:1,国际资源文件中 2,在配置文件中
例如: 年龄必须在${min} and ${max} 之间
#:访问所有的非根对象属性,在struts2 中 value stack为根对象,所有放在根对象里面的都为非根对象 也就是要用#;
# 相当于 (request,application,session).getAtrribute();
%: 他的用途是在标志属性为字符串类型的时候,计算ognl 表达式的值。如下:
- struts2 ognl
- struts2 OGNL # % $
- struts2 OGNL # % $
- struts2 OGNL
- OGNL struts2
- struts2 OGNL
- Struts2 OGNL
- struts2 OGNL # % $
- Struts2---->OGNL
- Struts2 OGNL
- struts2 OGNL
- Struts2-OGNL
- struts2 OGNL
- STRUTS2 OGNL
- struts2 OGNL # % $
- struts2 - OGNL
- Struts2 OGNL
- struts2-OGNL
- 80后,还记得我们作文的必杀句吗?
- 提高网站速度的几种手段
- Flex Builder教程
- tomcat5.5连接池配置,如何让工程为默认工程
- minicom崩溃问题的解决
- struts2 ognl
- "syntax error at EOF"
- 嵌入式系统Linux内核开发工程师必须掌握的三十道题
- “expected '=', ',', ';', 'asm' or '__attribute__' before 'void'”
- PCM
- FLEX 定义组件样式的方法总结
- 苦恼
- 圆明园十二生肖兽首的命运!!
- 盗链的解决方案