Graham, I believe that you need to specify the null returned value: ConvertUtils.registerConverter(new SqlDateConverter(null), java.sql.Date.class);
On 2004-Jan-19 15:01, Graham Lounder wrote: > Hey all, > > I know this question has been addressed numerous times but I can't seem to > find the answer. > > I'm trying to convert strings in my forms to java.sql.Date in my dto. Its > throwing a conversion error when my form value is null or blank. Is there a > way to get nulls or passed through the BeanUtils.copyProperties function? I > read that I may be able to create my own converters too. Is there any > documentation on this? > > Cheers, > Graham > > Graham Lounder - Java Developer > Spatial Components Division > CARIS www.caris.com > Tel: +1-506-458-8533 Fax: +1-506-459-3849 > CARIS has expanded to new office facilities. Our new mailing address is: > 115 Waggoners Lane, Fredericton, New Brunswick, E3B 2L4, Canada. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Nick Heudecker System Mobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

