Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 44966 invoked from network); 17 Mar 2006 22:18:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Mar 2006 22:18:34 -0000 Received: (qmail 9468 invoked by uid 500); 17 Mar 2006 22:18:31 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 9433 invoked by uid 500); 17 Mar 2006 22:18:31 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 9422 invoked by uid 99); 17 Mar 2006 22:18:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 14:18:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [199.9.2.132] (HELO zeus.w2k.nrlmry.navy.mil) (199.9.2.132) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2006 14:18:30 -0800 Received: from [199.9.2.211] ([199.9.2.211]) by zeus.w2k.nrlmry.navy.mil with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Mar 2006 14:18:09 -0800 Message-ID: <441B35A1.2020206@twdata.org> Date: Fri, 17 Mar 2006 14:18:09 -0800 From: Don Brown User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Struts Developers List Subject: Re: Servlet mapping in a Struts app? References: <1142633775.441b352f7eb13@aragorntools.webappcabaret.net> In-Reply-To: <1142633775.441b352f7eb13@aragorntools.webappcabaret.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Mar 2006 22:18:09.0389 (UTC) FILETIME=[AC1901D0:01C64A10] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Struts doesn't support multiple servlet mappings, which is probably why you are seeing some strange results. Don Jay Burgess wrote: > I must be misunderstanding something about the way servlet mapping works with my > Struts application in Tomcat. I have two servlet mappings in web.xml: > > > action > *.do > > > action > /API/* > > > The first is for my action handlers. The second is recently added, and > represents a collection of "third party API functions" that I've implemented > (also as action handlers). However, my base application is now doing the > following. > > When I hit "https://localhost/MyApp/login.jsp" for my main app, the following > tag in login.jsp: > > > > Gets turned into: > >
> > I'm confused as to why it's adding the "/API" to the form action, but it's got > to be related to the new . My struts-config.xml looks like the > following, and there's not mention of API: > > type="com.vtgroup.controller.LoginAction" > name="loginForm" > scope="request" > validate="false" > input="/login.jsp"> > > > Please enlighten me, as I feel stupid about this, but can't figure it out. > > Thanks. > > Jay > > | Jay Burgess [Vertical Technology Group] > | http://www.vtgroup.com/ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org