Hai,
The basic funda of connecting to the database remains the same .You write a
servlet an in the init method load the driver and establish the connection.
In the service method create an object of statement . execute the same
Only difference in
tomcat server u have to putr the class file in the C:\tomcat\webapps\examples\WEB-INF\classes directory.
------------------
Sandeep Jain