Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-06 Thread s
I have a form with java.util.Date (createTimestmp) and it has both date time. createTimestmp is an hidden field on the form. When I fetch record from database it has 5/17/12 12:58:33 PM.688 as value. If I change something on the form and if validation is GOOD, then creatTimestmp value is

Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-06 Thread Dave Newton
And the JSP? On Wed, Jun 6, 2012 at 12:18 PM, s srrem...@excite.com wrote: I have a form with java.util.Date (createTimestmp) and it has both date time. createTimestmp is an hidden field on the form. When I fetch record from database it has 5/17/12 12:58:33 PM.688 as value. If I change

Re: Struts 2 losing timestamp in java.util.Date when validation failed

2012-06-06 Thread Martin Cooper
On Wed, Jun 6, 2012 at 9:18 AM, s srrem...@excite.com wrote: I have a form with java.util.Date (createTimestmp) and it has both date time. createTimestmp is an hidden field on the form. When I fetch record from database it has 5/17/12 12:58:33 PM.688 as value. This is a question about