Hi ,
>
> but tomcat is showing me an error that
>
?-What u are getting as the error messge is what the DB driver returns to ur java application.Nothin to do with Tomcat.
One way to find the problem is to print the stack trace and the get the SQLException vendor code .And then u can check up with the error message document for ur DB.
Assuming ofcourse that u have already checked the table names,columnnames etc.