On 13 December 2010 20:57, Lukasz Lenart <lukasz.len...@googlemail.com> wrote:
> 2010/12/13 Gary Gregory <ggreg...@seagullsoftware.com>:
>> I am wondering how OGNL relates to Commons JXPath 
>> http://commons.apache.org/jxpath/
>>
>> When would you use one vs. the other?
>
> OGNL is an Expression Language like UEL, it has some nice features
> like calling statics or using constructors. It's used internally by
> Struts 2 to evaluate user expressions and not only in JSP but in any
> other place.

In which case it seems to be similar to Commons JEXL in approach and scope?

Can OGNL be used as a javax.script (JSR-223) language?

> JXPath looks like a XPath for Java objects, so it's used
> to query for values from graph of objects.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Kapituła Javarsovia http://javarsovia.pl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

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

Reply via email to