Check out JXPath, a bridge between XPath and
JavaBeans: http://www.plotnix.com/jxpath
The basic idea is to use the XPath syntax to
access/modify properties of java beans. Normally
XPath is applied to DOM trees. JXPath makes it work
with graphs of JavaBeans, primitive types,
collections, arrays and maps.
The reason I am posting this message here is that I
would like to get the Struts development community's
opinion on whether it would make sense to integrate
JXPath into Struts 1.1. Integration with XPath is
already on the to-do list. The question is whether we
want to expand the XPath support to include access to
JavaBeans. I am willing to contribute all of JXPath
source code to Jakarta or some other Apache project
(like Xalan) and then volunteer to integrate it with Struts.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/