Originally posted by Merrill Higginson:
My best guess would be that "dataSource" does not match exactly what you put in your struts-config.xml file as the form bean to be used by the action.
Do you have the following Entry in your struts-config.xml?
<action name="dataSoure" path="/myAction" ..>
In this case, "myAction" is whatever action is specified in your <html:form> tag.
Originally posted by Stan James:
Your recursion will probably look something like:
Draw out an XML doc with a couple nested folders, follow this through and write down what it would print. I had to do recursion on paper this way many times before it came naturally. It takes a little effort to remember just where to "pop back" when you return from the nested call.
[ December 01, 2005: Message edited by: Stan James ]
Originally posted by Paul Clapham:
SAXReader isn't in the standard Java API. I guess from my Google search you're asking about the class in DOM4J? What I found didn't have any documentation for this constructorbut the name of the parameter does suggest you should be passing it a class name and not a String containing XML.
Okay, that's what you're doing wrong. How should you do it right? Based on the documentation I saw, I would try something likebut that's just a guess. If it were me I would be looking around the DOM4J documentation for some example code.
Originally posted by Ulf Dittmer:
It would be most useful to see the actual exception, particularly the name of the class that is not found.
Originally posted by Jeanne Boyarsky:
Andrew,
You can set system properties if you run the application using "Run...". Then click on the arguments tab. There is a section for VM arguments.