This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
the date string actually get from date-picker(calendar), and i set parameter of date format from property file, date format in property eventually get though from java code(jsp) and set the dateformat for calendar using scriptlet
for example , if property file set field like dateformat="MM/dd/yyyy" , then the date-picker(calendar) will display in this defined format and also the return value would be following the defined format as well
Joined: Nov 08, 2001
look at this example here that I posted a prototype, with a slight change, you can make it work for your code.