Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 60111 invoked from network); 6 Sep 2004 07:45:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Sep 2004 07:45:15 -0000 Received: (qmail 10438 invoked by uid 500); 6 Sep 2004 07:44:31 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 10392 invoked by uid 500); 6 Sep 2004 07:44:31 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 10375 invoked by uid 99); 6 Sep 2004 07:44:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of pengtuck@gmail.com designates 64.233.170.205 as permitted sender) Received: from [64.233.170.205] (HELO mproxy.gmail.com) (64.233.170.205) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Sep 2004 00:44:29 -0700 Received: by mproxy.gmail.com with SMTP id 73so182913rnl for ; Mon, 06 Sep 2004 00:44:27 -0700 (PDT) Received: by 10.38.86.66 with SMTP id j66mr1309429rnb; Mon, 06 Sep 2004 00:44:27 -0700 (PDT) Received: by 10.38.207.24 with HTTP; Mon, 6 Sep 2004 00:44:27 -0700 (PDT) Message-ID: <2fae474804090600447116eb23@mail.gmail.com> Date: Mon, 6 Sep 2004 15:44:27 +0800 From: Peng Tuck Kwok Reply-To: Peng Tuck Kwok To: Tomcat Users List Subject: Re: Using JDBC Data source from a business class In-Reply-To: <04d001c493d8$8a86de10$d200000a@msoyer> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <04d001c493d8$8a86de10$d200000a@msoyer> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 6 Sep 2004 09:12:51 +0300, muhammed soyer wrote: > My servlets are using the ds without a problem ..But I have some classes which are >POJO classes to make my job easier whie accessing the DB ..these classes couldnt use > my JDBC definition ..As I guess its from context problems ..But I couldnt solve the >problem What's the exact problem? You don't exactly say where your POJO classes are, so I assume they are in your webapp right, then it should be ok. > > What should I do to use tomcat's ds from a POJO class ? > > thnx > > -ms > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org