How to use OGNL index reference operator
问题 Working with OGNL you can reference action context objects like #application , #session , #root , #action , #request , #parameters , #attr , and the action context with #context . The framework sets the OGNL context to be our ActionContext, and the value stack to be the OGNL root object. And OGNL uses [] as index reference to access an object properties. For example if the object foo has a property bar then it can access like foo.bar or foo['bar'] . It also works if foo is a map and bar is a