sir
i have a table in SQL-SERVER named as title
this table has three fields
1.id
2.tdate----this is of the type datetime
3.content
i am using JRUN 3.0
i want to make a java servlet in which u have a text link
Date todaysdate = new Date();
<a href="localhost:8100/servlet/dateservlet?param = todaysdate">todays content</a>;
In the servlet :
i am accepting this parameter as
String a = request.getParameter("todaysdate");
i will the database connecion---------------------
then
'
select * from title where tdate = 'a';
-----------but this not showing any result
error;
there is something wrong here in he compatitbility of 'a' with tdate