Thanks once again Mr Reddy.
The string date which i am getting from the database is:
2006-03-14 00:00:00.000
I did the following thing .
SimpleDateFormat dt_Format = new SimpleDateFormat("dd-MMM-yyyy");
Date d_t = dt_Format.parse(pay_Date);
String dt = dt_Format.format(d_t);
But when executing my
jsp page teh
tomcat is throwing the error:
Unparseable date: "2006-03-14 00:00:00.0" So what to do now??
Jignesh