Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 60490 invoked from network); 3 Nov 2010 13:54:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Nov 2010 13:54:00 -0000 Received: (qmail 40623 invoked by uid 500); 3 Nov 2010 13:54:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40520 invoked by uid 500); 3 Nov 2010 13:54:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 40511 invoked by uid 99); 3 Nov 2010 13:54:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 13:54:28 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.30.96] (HELO qmta09.emeryville.ca.mail.comcast.net) (76.96.30.96) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 13:54:19 +0000 Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta09.emeryville.ca.mail.comcast.net with comcast id Sdlt1f0061smiN4A9dtyRB; Wed, 03 Nov 2010 13:53:58 +0000 Received: from [10.20.85.248] ([38.101.196.246]) by omta20.emeryville.ca.mail.comcast.net with comcast id Sdtl1f0085KSyMS8gdtoV1; Wed, 03 Nov 2010 13:53:55 +0000 Message-ID: <4CD1696A.5040309@christopherschultz.net> Date: Wed, 03 Nov 2010 09:53:46 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Dispatching request from Servlet to Portlet References: <30120181.post@talk.nabble.com> In-Reply-To: <30120181.post@talk.nabble.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sachin, On 11/3/2010 1:53 AM, sachin_nabble wrote: > I am new to servlets & portlets and I need to set Session timeout at > Application level, > in portlet somehow i am unable to set session time for Application,( Portlet > level session available in Portlet thr RenderRequest object) so i am > planning to set Application level Session timeout by using Servlet. > If i set Session Timeout in Servlet and then forward the request to portlet > will this session timeout value will control application timeout ? or i need > to use include() instead of forward() ? You may be better off using a Filter (which is invoked before a servlet) instead of an actual Servlet. You ought to be able to configure your Filter to run against requests that will be routed to the portlet without having to explicitly route those requests yourself. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzRaWoACgkQ9CaO5/Lv0PDz/ACgqbhbD0KNlNbmaH/Ta715gWDG dmQAnArwdkoQF76tKQFLGy8JtUyxeZCv =X8BD -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org