X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 643AC11F6031 for ; Fri, 28 Apr 2006 11:04:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 78427-09 for ; Fri, 28 Apr 2006 11:04:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from dfrobd01.vailsys.com (chrobd01.vailsys.com [63.210.102.138]) by postgresql.org (Postfix) with ESMTP id 3034C11F600C for ; Fri, 28 Apr 2006 11:04:05 -0300 (ADT) Received: from dfsfbd06.vail (dfsfbd06.vail [192.168.129.190]) by dfrobd01.vailsys.com (Postfix) with ESMTP id 5E8AFFF3B; Fri, 28 Apr 2006 09:04:06 -0500 (CDT) Received: from [192.168.34.12] (unknown [192.168.34.12]) by dfsfbd06.vail (Postfix) with ESMTP id A2BB0323E98; Fri, 28 Apr 2006 08:54:42 -0500 (CDT) Message-ID: <44521EB7.8040604@vailsys.com> Date: Fri, 28 Apr 2006 08:55:03 -0500 From: David Durham User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: "J." Cc: pgsql-jdbc@postgresql.org Subject: Re: connection pooling with servlets References: <20060428061105.37423.qmail@web54215.mail.yahoo.com> In-Reply-To: <20060428061105.37423.qmail@web54215.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/187 X-Sequence-Number: 15121 J. wrote: > Thanks. I posted some of the relevant code here; > > http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=016798 > > But I'm still baffled as to how to get access to a session in a servlet > that was called by a jsp. Should servlets have access to sessions > easily? Just look at the servlet api that matches the specification in the deployment descriptor, which is a DTD or schema in WEB-INF/web.xml.