Hi,

I´ve a question why it´s not possible to use "java.util.Date" in 
digester respectively in the digester rule file. Instead the type
"java.sql.Date" works.

Can someone explain me that´s the reason?


//xml file with data contains the following element
<wertstellung>2004-03-31</wertstellung>

//xml file with rules contains the following definition
<call-method-rule pattern=3D"wertstellung" =
methodname=3D"setWertstellung" paramcount=3D"0"  =
paramtypes=3D"java.sql.Date"/>

//the corresponding code of the object is the following=09
private Date    werstellung                     =3D null;

public void setWertstellung(Date newWertstellung){
        this.werstellung =3D newWertstellung;
}

public Date getWerstellung() {
        return this.werstellung;
}

Thanks a lot, Jan

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

Reply via email to