I have a multiactioncontroller in which I have registered a CustomDateEditor. In my command class I have a Date property. When I input a valid date in my form it is converted to a Date and bound to the corresponding property in the command class. However, if I input an invalid date value (such as 'aaa') I get a BindException. In the JBoss log I see that a TypeMismatch has occurred, which makes sense of course. But how to handle the BindException? I thought that Spring handled that automatically by showing the input form agian with a corresponding error message. All I get now is stack trace. Am I missing something?
Announcement Announcement Module
No announcement yet.