Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 63241 invoked from network); 3 Feb 2004 18:19:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Feb 2004 18:19:25 -0000 Received: (qmail 32279 invoked by uid 500); 3 Feb 2004 18:17:35 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 32215 invoked by uid 500); 3 Feb 2004 18:17:35 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 32159 invoked from network); 3 Feb 2004 18:17:34 -0000 Received: from unknown (HELO perpetua.mcclan.net) (208.161.106.6) by daedalus.apache.org with SMTP; 3 Feb 2004 18:17:34 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by perpetua.mcclan.net (8.12.8/8.12.8) with ESMTP id i13IHbfw006390 for ; Tue, 3 Feb 2004 10:17:37 -0800 Received: from localhost (localhost [127.0.0.1]) by localhost (IMP) with HTTP for ; Tue, 3 Feb 2004 10:17:37 -0800 Message-ID: <1075832257.401fe5c1a78c5@localhost> Date: Tue, 3 Feb 2004 10:17:37 -0800 From: "Craig R. McClanahan" To: Struts Users Mailing List Subject: Re: action global forward extension References: <001101c3ea3a$c3a0bd80$0e93b583@beddoespc> In-Reply-To: <001101c3ea3a$c3a0bd80$0e93b583@beddoespc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 127.0.0.1 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 Quoting Bradley Beddoes : > Hi All. > > I wish to have some global forwards invoked as .do others as .do2 (so as > to differentiate what filters get hit with the differing requests), Is > this possible within struts? (Please see struts.conf below) > Struts supports only one mapping to the controller servlet. http://jakarta.apache.org/struts/userGuide/configuration.html#dd_config_mapping Since you are using extension mapping, one thing to consider is to create an artificial "directory" level in your action paths ("/foo/setup.do" and "/bar/teardown.do" instead of "setup.do" and "teardown.do2"). That way, you can have different filters on "/foo/*" and "/bar/*". Craig --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org