This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi everybody : I using Tomcat3.1 . how can i connect to my databse in msacess. Should i store the databe in particular file or else cani connect to the databse as i use to do whn i am writing an application . Thank you Siva
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
Try and Try Till u succeed<br /> <br />Sandeep Jain
Joined: Oct 31, 2000
Dear Sandeep: Thanx a lot. Thats the part i was confused with hey ia m doina project in servlets and jsp and ia m kind of lost do u wanna to guide me let me know tahnk you siva