Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 617FB9FC827 for ; Thu, 25 Oct 2007 20:15:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 13350-02 for ; Thu, 25 Oct 2007 20:15:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from venus.universe.linuxdelta.de (venus.universe.linuxdelta.de [88.198.59.50]) by postgresql.org (Postfix) with ESMTP id BC8019F9AE4 for ; Thu, 25 Oct 2007 20:15:26 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by venus.universe.linuxdelta.de (Postfix) with ESMTP id 9F91B1F4005 for ; Fri, 26 Oct 2007 01:15:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at venus.local Received: from venus.universe.linuxdelta.de ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NicqNmvkFtwh for ; Fri, 26 Oct 2007 01:15:17 +0200 (CEST) Received: from snow.local (d122006.adsl.hansenet.de [80.171.122.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by venus.universe.linuxdelta.de (Postfix) with ESMTP id 47F801F4004 for ; Fri, 26 Oct 2007 01:15:17 +0200 (CEST) From: Frank Habermann To: pgsql-jdbc@postgresql.org Subject: Re: multiple connections to db over jsp Date: Fri, 26 Oct 2007 01:17:29 +0200 User-Agent: KMail/1.9.5 References: <47210FE5.8000909@lordlamer.de> <47212207.4070303@burntmail.com> In-Reply-To: <47212207.4070303@burntmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710260117.29647.lordlamer@lordlamer.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/145 X-Sequence-Number: 17717 Hi, > Look up datasource in the Tomcat reference. Here's the link for 5.5: > > http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html > > This creates a connection pool, and in your JSP page, you just retrieve > a connection from the pool when you need one. Thanks a lot! This is what i am searching for! Frank