It's been a while, but I think my JDBC driver was returning an instance of Timestamp, not java.sql.Date. Not sure if that means your suggestion wouldn't work. The driver was Oracle's thin driver.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frederick N. Brier Sent: Saturday, October 18, 2003 4:37 AM To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Converters not used on property get? I just got the Jakarta JSTL to work with Webwork2/XWork, but ran into what I believe is a bug. 2 lines fix it, if you determine it is a bug. This may or may not be related to the email "Converters not used on property get?" between Fred Lamuette and Patrick Lightbody, and may solve Drew McAuliffe's issue. In XWorkBasicConverter, the doConvertToDate() method only checks to see whether the object being passed in is a String [if (value instanceof String)], otherwise it returns null. If we add the following 2 lines after the if the java.sql.Date object is returned which is perfectly acceptable for a java.util.Date: else if ( value instanceof java.sql.Date ) result = (Date)value; Thank you. Fred. ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork