The date fields in jsp are not mandatory. So there will be null strings in
the request/session.
As I understand, Struts tries to create Date object out of the null string
and chokes on it.
I would like to know if my understanding is correct ?
If this is true are there any solutions for the problem?
Thanks and Regards,
Sree/-
----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
----------------------------------------------------------------------------------------
"Robert Taylor" <rtaylor
@mulework.com>
03/25/2004 02:35 PM
Please respond to "Struts Users Mailing List"
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject: RE: Handling Date objects in ActionForm gracefully
What's the problem?
robert
> -----Original Message-----
> From: Sreenivasa Chadalavada [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 25, 2004 2:28 PM
> To: Struts Users Mailing List
> Subject: Handling Date objects in ActionForm gracefully
>
>
> All,
>
> We are facing a problem when we define java.util.Date field in
ActionForm.
>
> Is there any way to override the default behavior provided by Struts?
>
> I very much appreciate your help!!
>
> Thanks and Regards,
> Sree/-
>
>
>
----------------------------------------------------------------------------------------
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to
> bind CSC to any order or other contract unless pursuant to explicit
> written agreement or government initiative expressly permitting the use
of
> e-mail for such purpose.
>
----------------------------------------------------------------------------------------
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]