wood burning stoves 2.0*
The moose likes Servlets and the fly likes How to use MS-Access in Tomcat 3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to use MS-Access in Tomcat 3.1" Watch "How to use MS-Access in Tomcat 3.1" New topic
Author

How to use MS-Access in Tomcat 3.1

Siva Jagadeesan
Ranch Hand

Joined: Oct 31, 2000
Posts: 160
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


Rgds<p>--Siva Jagadeesan<br /><a href="http://java2simple.blog-city.com" target="_blank" rel="nofollow">http://java2simple.blog-city.com</a><br />Sun Certified Java2 Programmer<br />Sun Certified Web Component Developer<br />BEA Certified Weblogic Server 7 Enterprise Developer
Sandeep Jain
Ranch Hand

Joined: Oct 25, 2000
Posts: 124
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
Siva Jagadeesan
Ranch Hand

Joined: Oct 31, 2000
Posts: 160
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use MS-Access in Tomcat 3.1