文件名称:Struts03OGNL
介绍说明--下载内容来自于网络,使用问题请自行百度
OGNL表达式是(Object-Graph Navigation Language)是对象图形化导航语言。OGNL是一个开源的项目,struts2中默认使用OGNL表达式语言来显示数据。与serlvet中的el表达式的作用是一样的。OGNL表达式有下面以下特点:
支持对象方法调用,例如:objName.methodName();
支持类静态的方法调用和值访问,表达式的格式为
@[类全名(包括包路经)]
@[方法名 | 值名]
例如:
@java.lang.String@format('foo%s','bar')
@tutorial.MyConstant@APP_NAME;
支持赋值操作和表达式串联,例如:
price=100, discount=0.8, calculatePrice(),这个表达式会返回80;
访问OGNL上下文(OGNL context)和ActionContext
操作集合对象(OGNL The expression is the object graphical navigation language. It's an open source project, and Struts2 uses default OGNL expression language to display data. The same function as the El expression in serlvet. The OGNL expression has the following features:
Support object method invocation, for example: objName.methodName ();
Supports static class method calls and value access. The format of the expression is
@[class name (including the road)]
@[method name | value name]
For example:
@java.lang.String@format ('foo%s','bar')
@tutorial.MyConstant@APP_NAME;
Support assignment operations and expressions in series, for example:
Price=100, discount=0.8, calculatePrice (), and this expression returns 80;
Access the OGNL context (OGNL context) and ActionContext
Operation collection object)
支持对象方法调用,例如:objName.methodName();
支持类静态的方法调用和值访问,表达式的格式为
@[类全名(包括包路经)]
@[方法名 | 值名]
例如:
@java.lang.String@format('foo%s','bar')
@tutorial.MyConstant@APP_NAME;
支持赋值操作和表达式串联,例如:
price=100, discount=0.8, calculatePrice(),这个表达式会返回80;
访问OGNL上下文(OGNL context)和ActionContext
操作集合对象(OGNL The expression is the object graphical navigation language. It's an open source project, and Struts2 uses default OGNL expression language to display data. The same function as the El expression in serlvet. The OGNL expression has the following features:
Support object method invocation, for example: objName.methodName ();
Supports static class method calls and value access. The format of the expression is
@[class name (including the road)]
@[method name | value name]
For example:
@java.lang.String@format ('foo%s','bar')
@tutorial.MyConstant@APP_NAME;
Support assignment operations and expressions in series, for example:
Price=100, discount=0.8, calculatePrice (), and this expression returns 80;
Access the OGNL context (OGNL context) and ActionContext
Operation collection object)
相关搜索: javaweb
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Struts03OGNL
Struts03OGNL\.classpath
Struts03OGNL\.project
Struts03OGNL\.settings
Struts03OGNL\.settings\.jsdtscope
Struts03OGNL\.settings\org.eclipse.jdt.core.prefs
Struts03OGNL\.settings\org.eclipse.wst.jsdt.ui.superType.container
Struts03OGNL\.settings\org.eclipse.wst.jsdt.ui.superType.name
Struts03OGNL\WebContent
Struts03OGNL\WebContent\META-INF
Struts03OGNL\WebContent\META-INF\MANIFEST.MF
Struts03OGNL\WebContent\WEB-INF
Struts03OGNL\WebContent\WEB-INF\lib
Struts03OGNL\WebContent\WEB-INF\lib\asm-3.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\asm-commons-3.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\asm-tree-3.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\commons-fileupload-1.3.1.jar
Struts03OGNL\WebContent\WEB-INF\lib\commons-io-2.2.jar
Struts03OGNL\WebContent\WEB-INF\lib\commons-lang3-3.2.jar
Struts03OGNL\WebContent\WEB-INF\lib\freemarker-2.3.22.jar
Struts03OGNL\WebContent\WEB-INF\lib\javassist-3.11.0.GA.jar
Struts03OGNL\WebContent\WEB-INF\lib\log4j-api-2.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\log4j-core-2.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\ognl-3.0.13.jar
Struts03OGNL\WebContent\WEB-INF\lib\struts2-core-2.3.28.jar
Struts03OGNL\WebContent\WEB-INF\lib\xwork-core-2.3.28.jar
Struts03OGNL\WebContent\WEB-INF\web.xml
Struts03OGNL\WebContent\index.jsp
Struts03OGNL\WebContent\ognl.jsp
Struts03OGNL\build
Struts03OGNL\build\classes
Struts03OGNL\build\classes\com
Struts03OGNL\build\classes\com\bjsxt
Struts03OGNL\build\classes\com\bjsxt\struts2
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\Cat.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\Dog.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\OgnlAction.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\S.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\TestAction.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\User.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\ognl.xml
Struts03OGNL\build\classes\struts.xml
Struts03OGNL\src
Struts03OGNL\src\com
Struts03OGNL\src\com\bjsxt
Struts03OGNL\src\com\bjsxt\struts2
Struts03OGNL\src\com\bjsxt\struts2\ognl
Struts03OGNL\src\com\bjsxt\struts2\ognl\Cat.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\Dog.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\OgnlAction.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\S.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\TestAction.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\User.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\ognl.xml
Struts03OGNL\src\struts.xml
Struts03OGNL\.classpath
Struts03OGNL\.project
Struts03OGNL\.settings
Struts03OGNL\.settings\.jsdtscope
Struts03OGNL\.settings\org.eclipse.jdt.core.prefs
Struts03OGNL\.settings\org.eclipse.wst.jsdt.ui.superType.container
Struts03OGNL\.settings\org.eclipse.wst.jsdt.ui.superType.name
Struts03OGNL\WebContent
Struts03OGNL\WebContent\META-INF
Struts03OGNL\WebContent\META-INF\MANIFEST.MF
Struts03OGNL\WebContent\WEB-INF
Struts03OGNL\WebContent\WEB-INF\lib
Struts03OGNL\WebContent\WEB-INF\lib\asm-3.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\asm-commons-3.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\asm-tree-3.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\commons-fileupload-1.3.1.jar
Struts03OGNL\WebContent\WEB-INF\lib\commons-io-2.2.jar
Struts03OGNL\WebContent\WEB-INF\lib\commons-lang3-3.2.jar
Struts03OGNL\WebContent\WEB-INF\lib\freemarker-2.3.22.jar
Struts03OGNL\WebContent\WEB-INF\lib\javassist-3.11.0.GA.jar
Struts03OGNL\WebContent\WEB-INF\lib\log4j-api-2.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\log4j-core-2.3.jar
Struts03OGNL\WebContent\WEB-INF\lib\ognl-3.0.13.jar
Struts03OGNL\WebContent\WEB-INF\lib\struts2-core-2.3.28.jar
Struts03OGNL\WebContent\WEB-INF\lib\xwork-core-2.3.28.jar
Struts03OGNL\WebContent\WEB-INF\web.xml
Struts03OGNL\WebContent\index.jsp
Struts03OGNL\WebContent\ognl.jsp
Struts03OGNL\build
Struts03OGNL\build\classes
Struts03OGNL\build\classes\com
Struts03OGNL\build\classes\com\bjsxt
Struts03OGNL\build\classes\com\bjsxt\struts2
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\Cat.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\Dog.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\OgnlAction.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\S.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\TestAction.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\User.class
Struts03OGNL\build\classes\com\bjsxt\struts2\ognl\ognl.xml
Struts03OGNL\build\classes\struts.xml
Struts03OGNL\src
Struts03OGNL\src\com
Struts03OGNL\src\com\bjsxt
Struts03OGNL\src\com\bjsxt\struts2
Struts03OGNL\src\com\bjsxt\struts2\ognl
Struts03OGNL\src\com\bjsxt\struts2\ognl\Cat.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\Dog.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\OgnlAction.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\S.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\TestAction.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\User.java
Struts03OGNL\src\com\bjsxt\struts2\ognl\ognl.xml
Struts03OGNL\src\struts.xml
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.