Hi,
I am new to struts. I want to use Struts' Digester to parse my xml file. I
want to know if the
digester can set the attributes of the xml element to the fields in the
corresponding class whose type are other than string. Let's say,

<my_xml id="01" name="foo"/> 

and my class has a field like: 

public class MyClass{
int id;
String name;
....
}

then when the digester sets the attribute with addSetProperties, will it set
the id as the NUMERIC value of the string "01" ?
If not, is there any way to do that using digester?

I would highly appreciate your help.

Thanks
Ajay

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to