On 11/16/05, Jesus Salvo Jr. <[EMAIL PROTECTED]> wrote:
>
> Thanks ... I sort of worked around it by using java.sql.Date instead,
> since the built-in converts in commons-beanutils does not really have a 
> java.util.Date converter,
> only a java.sql.Date converter.
>
> However, I still have one problem with this.
>
> If a user leave the date field empty in the form, you will get the exception 
> below.
>
> The problem with this it seems that the conversion happens BEFORE the 
> validation.

Struts does not do a good job converting types. This is one of the
reasons for all new frameworks. Or for add-on libraries. Try this one:
https://formdef.dev.java.net

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to