Re: dd-MON-yyyy date format validation

2007-06-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ambaris, Ambaris Mohanty wrote: > I'm developing a jsp form that has a date field. I want to get the date in > dd-MON- from the user. I can't validate the format using struts > validation framework. Why not? http://struts.apache.org/1.3.8/faqs/v

Re: dd-MON-yyyy date format validation

2007-06-02 Thread Jeremiah Johnson
You will have to write your own custom validator or implement the validate() method on the form. Custom validator: http://www.onjava.com/pub/a/onjava/2002/12/11/jakartastruts.html?page=last Ambaris Mohanty wrote: Hi all, I'm developing a jsp form that has a date field. I want to get the dat

dd-MON-yyyy date format validation

2007-06-02 Thread Ambaris Mohanty
Hi all, I'm developing a jsp form that has a date field. I want to get the date in dd-MON- from the user. I can't validate the format using struts validation framework. Can any one help me on this? Thank you, Ambaris Mohanty