struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lcl" <...@gnireel.com>
Subject Re: Struts can not accept a date field if it is blank
Date Mon, 02 Jun 2003 06:49:26 GMT
Is there not any other ways?
Because I want to use a single class to act as formbean and value object :-)

However, thank you very much.

"Chen, Gin" <Gin.Chen@NielsenMedia.com>
:0BC5187E59E2D411A81000508BB09569055FE4F2@nmrusdunsx6.nielsenmedia.com...
> Use java.lang.String instead of java.sql.Date in your FormBeans
> -Tim
>
> -----Original Message-----
> From: lcl [mailto:lcl@gnireel.com]
> Sent: Sunday, June 01, 2003 11:13 PM
> To: struts-user@jakarta.apache.org
> Subject: Struts can not accept a date field if it is blank
>
>
> Hi all ,
>
> In my form, there is a date field which can be null in database. So the
user
> can let it to be blank,but struts can not convert it to form bean, error
> message is :
> org.apache.commons.beanutils.ConversionException
>
> So , How can deal with it?
> Any advice will be appreciate.
>
> lcl
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message