the connection with jdbc was working fine when called from a class..
the problem started only when i started
servlet.
previously a servlet was calling a class that had the code to get data from database but because of the problem
i tried putting all the code in the servlet only...
but still there is problem..
help