When I do the following:
String start = request.getParameter("startp");
SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss");
long ms=0;
try {
ms = sdf.parse(start).getTime();
} catch (ParseException e1) {
e1.printStackTrace();
}
Time ts = new Time(ms);
it is inserted with this value 01:00:00 witch is not the correct one (entered by user).
I don't understand the error here. Please help. Thanks