Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 49046 invoked from network); 24 Oct 2003 14:48:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Oct 2003 14:48:19 -0000 Received: (qmail 85340 invoked by uid 500); 24 Oct 2003 14:48:10 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 85331 invoked by uid 500); 24 Oct 2003 14:48:10 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 85317 invoked from network); 24 Oct 2003 14:48:09 -0000 Received: from unknown (HELO sec.co.ro) (217.10.198.22) by daedalus.apache.org with SMTP; 24 Oct 2003 14:48:09 -0000 Received: from sec.co.ro (sey.sec.co.ro [192.168.3.7]) by sec.co.ro (Postfix on SuSE Linux) with ESMTP id 1486C12D88 for ; Fri, 24 Oct 2003 17:41:53 +0300 (EEST) Message-ID: <3F993BAC.4050903@sec.co.ro> Date: Fri, 24 Oct 2003 17:48:12 +0300 From: Marius Seiceanu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons-user@jakarta.apache.org Subject: DBCP: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, On http://jakarta.apache.org/struts/faqs/database.html I found out how to use BasicDataSource. The problem is that in some classes of my application (under Tomcat context) which is using Struts i don't have access to request, so i can't use: dataSource = getDataSource(request); Is there any possibility to configure struts to put automaticaly the BasicDataSource instances on a JNDI context, so I can get them later, from classes under the same Tomcat context? Thank you, Marius Seiceanu. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org