u have to use dateformatter. kindly check that out in the jdk help.
Also u can force the user to fill the date in the format u want by
seperating yyyy mm and dd as seperate text boxes and putting them the way u
want.
tppal <[EMAIL PROTECTED]> on 06/21/2000 10:58:24 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)
Subject: How To Validate Date Format Using Java
I need to validate this date format using format dd/mm/yyyy. If user input
other date format eg mm/dd/yyyy or yyyy-mm-dd, it's will automatically
convert to dd/mm/yyyy. How to do it?
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
_____________________________________________________________
Visit http://www.PalmGreetings.com The first & only Mobile greeting site.
* You can send & receive e-cards using your Palm Pilot
* View animated cards on your Palm
* Draw your very own cards
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets