Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Digester - Passing multiple parameters to Method

 
Sean Chang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Below is my class, I am trying to call a method and pass it multiple parameters (Using Apache Digester) to map my input XML to my POJO. Please help!



The particular issue I am having is with the CallMethodRule, and trying to set 2 parameters. As you can see above whenever I try to add this rule, it fires the rule 2 times. How can I set up the parameters in 1 shot? I don't see a way to do this given my current implementation. (I can do this with 1 input parameter just fine, not sure about 2 or more)

Please help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic