Announcement Announcement Module
Collapse
No announcement yet.
Best way to get Spring form elements into a date object? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best way to get Spring form elements into a date object?

    Hi,

    I'm using Spring 3.0. I want to have a "date" input field on my web form, with three drop-down menus -- one for month, day, and year. I then want to take that and convert it into a java.util.Date or java.util.Calendar object in my controller. Does Spring provide any easy ways to do this other than the obvious, collect three request params, and then parse those out into an object.

    Thanks, - Dave
Working...
X