commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <>
Subject Re: OGNL as a part of Commons
Date Mon, 13 Dec 2010 20:57:56 GMT
2010/12/13 Gary Gregory <>:
> I am wondering how OGNL relates to Commons 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.

+ 48 606 323 122
Kapituła Javarsovia

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message