hi all,
maybe somebody can help me with the following problem?
xml-file:
<property>
<database name="db1">
<user>user1</user>
</database>
<database name="db2">
<user>user2</user>
</database>
</property>
a small excerpt of the Java source:
digester.addObjectCreate("property", Property.class);
digester.addObjectCreate("property/database", Database.class);
digester.addSetNext("property/database", "addDatabase");
digester.addSetProperties("/property/database", "name", "name");
digester.addBeanPropertySetter("property/database/user", "user");
when i print out name and user the output is the following:
user=user1
name=null
user=user2
name=null
I don't understand why name is always null ...
what am I doing wrong?
thanks for your help
g�nter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]