7、L无疑成为了这个语义字符串与Java对象之间沟通的桥梁。如何使用OGNL让我们先研究一下OGNL的API,他来自于Ognl的静态方法:Java代码1. 2./** 3. * Evaluates the given OGNL expression tree to extract a value from the given root 4. * object. The default context is set for the given context and root via 5. *
8、E>addDefaultContext(). 6. * 7. * @param tree the OGNL expression tree to evaluate, as returned by parseExpression() 8. * @param context the naming context for the evaluation 9. * @param root the root object for the OGNL expressio