Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 5309 invoked from network); 2 Dec 2002 17:15:24 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Dec 2002 17:15:24 -0000 Received: (qmail 18128 invoked by uid 97); 2 Dec 2002 17:16:13 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 18107 invoked by uid 97); 2 Dec 2002 17:16:13 -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 18095 invoked by uid 98); 2 Dec 2002 17:16:12 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 2 Dec 2002 09:15:01 -0800 (PST) From: "Craig R. McClanahan" To: Tomcat Users List Subject: Re: Bezerk - tomcat calls JSP twice ? In-Reply-To: <20021202035325.3630.qmail@web20607.mail.yahoo.com> Message-ID: <20021202091256.I77206-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 2 Dec 2002, Stephen Riek wrote: > > If a Filter makes a call to a page using for example > RequestDispatcher.forward("/Products/index.jsp"), will that request > dispatcher bypass any filters, or will it still be subject to all filter > rules ? > In Servlet 2.3 (i.e. Tomcat 4.x), Filters are not invoked when you do a RequestDispatcher.forward() or RequestDispatcher.include(). They are only invoked on the original request. In Servlet 2.4 (i.e. Tomcat 5), you can use an additional web.xml configuration element that requests filters even on RD calls. For backwards compatibility, the default behavior will continue to be omitting them. > > Stephen. > Craig -- To unsubscribe, e-mail: For additional commands, e-mail: