posted 13 years ago
Hello ....
I'm trying to create registration form using Spring MVC and Velocity as view. in the view there are inputs: username email password confirmpassword birthday -> format MM/dd/yyyy
when user submit the form, my controller validate the form input/command. if there some error, it will show back to the view and print the birth day in correct format.
but the date printed as not formated date. I try use $dateTool.format('MM/dd/yyyy', $registration.BirthDay) but the birthday value still not formated.
any help needed.
Thanks