Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 32942 invoked from network); 27 Dec 2004 04:19:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Dec 2004 04:19:13 -0000 Received: (qmail 96727 invoked by uid 500); 27 Dec 2004 04:18:59 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 95808 invoked by uid 500); 27 Dec 2004 04:18:56 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 95791 invoked by uid 99); 27 Dec 2004 04:18:56 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ncr-static-120.237.247.61.touchtelindia.net (HELO win2003server.computerware.co.in) (61.247.237.120) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 26 Dec 2004 20:18:53 -0800 Subject: RE: DB Connection Best practice MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Dec 2004 09:48:47 +0530 Message-ID: <2024453DA96BC0418B107F4923D8AEAF34972C@win2003server.computerware.co.in> Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DB Connection Best practice Thread-Index: AcTryZQatPelwFAiSkKvqsh9+/Y88QAAWpTQ From: "Amit Gupta" To: "Struts Users Mailing List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I sent you message in separate mail on Friday. Have you got that? Also do communicate with me at amitguptainn@gmail.com or = amitguptainn@yahoo.co.in for immediate response. Amit Gupta 9818052171 -----Original Message----- From: Manisha Sathe [mailto:manisha_msathe@yahoo.com]=20 Sent: Sunday, December 26, 2004 11:16 AM To: Struts Users Mailing List Subject: RE: DB Connection Best practice Hi Amit, =20 Would appreciate if u can forward the same msg again to me too. As i am = also a struggler i also might need it =20 Thanks, Manisha Amit Gupta wrote: 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:uma.k@net-kraft.com]=20 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: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org