Hi Uma, I use DBCP for this. Refer my message that I posted an hour ago on tomcat users list. I am forwarding same to you on your personal ID.
-----Original Message----- From: uma.k [mailto:[EMAIL PROTECTED] Sent: Friday, December 24, 2004 10:20 AM To: 'Struts Users Mailing List' Subject: DB Connection Best practice Hi, I wanted to insert a record into the database or update a record in the database or get a record from the database. Where do I make my database connection? Is it in the Action class? Can I make a single java class handle all of that for me? If the above are wrong. Please let me know which is the best practice to do this. Thanks Uma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]