On 13 December 2010 20:57, Lukasz Lenart <[email protected]> wrote:
> 2010/12/13 Gary Gregory <[email protected]>:
>> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to