commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: OGNL as a part of Commons
Date Mon, 13 Dec 2010 20:57:56 GMT
2010/12/13 Gary Gregory <GGregory@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. 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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message