On 7/29/10 9:50 PM, Zoran Avtarovski wrote:
What I want to know if there is a way for OGNL to evaluate the expression
represented by the string through recursion?

I see no reason you can't get a reference to the ValueStack object from within OGNL and call the findValue() method to make that happen.

Before anybody mentions it, I know the risk, but the way the string is
constructed will protect against injected code.

Just beware of Little Bobby Tables.
http://xkcd.com/327/

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to