This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have a datetime field defined in my JSP page as:
When I am validating this field and the page is redisplayed it shows the following after I entered the value 04/11/2010 in this field and clicked SUBMIT again:
{0}: Conversion error occurred.
My validation code is as follows for this field:
Can someone please tell me what I'm doing wrong here? Any help/direction would be appreciated.
Hey, try using "dd/MM/yyyy".
java is case sensitive and sometimes causes issue with case.
also, why do you want the user to input dates manually.
give a small calendar next to the input box and let the user click and decide the date from the pop-up-calendar.
dont make the input text editable so you dont have to write a converter for it.