Hi All,
I am trying to convert a
String to a java.util.Date and then subsequently convert it into java.sql.Date to be queried in the database. Kindly let me know if there is a better approach for this .
In
Servlets I have passed a method in which i am passing 2 parameters 'String from, String to':
and then based upon I want to get all the request(having 4 columns i.e req_id, name, status, create_date) in the database between those two dates. and then subsequently put in a table .
Note: In the database the date format is eg. 8/1/01 but when i click the cell(I am using a software to access the database) a dialog window comes up and shows the date as "Wednesday, August 01, 2001" . I am not sure if there is anything to do with this ?
This is the method allRequest():
Kindly let me know how this problem could be solved.
Any help would be appreciated.
Thanks,
Regards,
John
I've edited this and added spaces within the HTML tags so it doesn't mess up this page - Angela Poynton [This message has been edited by Angela Poynton (edited August 02, 2001).]