I have jsp page and Date field with input type. Requirement is, if we enter date as MMDDYY or MMDDYYYY and clicking the tab the date(MMDDYY or MMDDYYYY) have to auto format to MM/DD/YYYY. could you please suggest me the best function to do this. Thanks in advance!!!!
In somany sites there are capturing the date by using theree combo boxs. One for day,another for month and thired one for year. In controller get the values from combo boxs and create the required date format by using StringBuffer.