struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "apachep2" <>
Subject RE: date format problems
Date Thu, 06 Mar 2003 15:32:06 GMT
Make sure it is a java.sql.Date during conversion using ConvertUtil.

-----Original Message-----
From: Gemes Tibor [] 
Sent: March 6, 2003 10:14 AM
To: Struts Users Mailing List
Subject: Re: date format problems

2003. március 6. 16:06 dátummal Søren Blidorf ezt írtad:
> Hi.
> I have an action that gets a date from the MS SQL 2000 in yyyy-MM-dd.
> convert it with simpledateformat as dd-MM-yyyy and put it in a jsp
> When submitting the form the date must be coverted back to yyyy-MM-DD
> before another actions update the db.
> I am trying to convert the date value in the ActionForm, but I am
> getting the following error.
> Any idears? I am lost and it is very urgent

Register a Converter for your String-Date Date-String conversion
with ConvertUtils. read javadocs



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message