basically
1.
presentation amgetting dd-MM-yyyy fornmat in
jsp 2.in action i want to convert in to Date format
string date1 = "14-12-2004"
SimpleDateFormat dat1 = new SimpleDateFormat(dd-MM-yyyy);
java.sql.Date mDate = new java.sqlDate(dat1.parse(date1).getTime());
3.out put am getting 25-05-27(this is outfor .getTime())
4. getDate() in replce the getTime() it says Deprecated.
how do i solve these problems
in prepared Stmt have to insert
stmt.setDate(3,mDate);