A simpler alternative to that approach would be to simply make an
additional setter method in you bean (and getter if appropriate) for
your Date member which takes a String, parses it (preferably according
to the user's Locale) and sets your Date member. The form data should
be first validated, oth
Writing a date converter is pretty simple; the
only reason there isn't one included in the
beanutils distribution is that there's not a very
easy way to configure the date format in a
universal way.
Below is an example. This one is implemented as
a static inner class within the only class wh
2 matches
Mail list logo