Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 64604 invoked from network); 2 Feb 2004 16:43:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Feb 2004 16:43:28 -0000 Received: (qmail 64397 invoked by uid 500); 2 Feb 2004 16:42:43 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 64349 invoked by uid 500); 2 Feb 2004 16:42:42 -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 64303 invoked from network); 2 Feb 2004 16:42:42 -0000 Received: from unknown (HELO web60210.mail.yahoo.com) (216.109.118.105) by daedalus.apache.org with SMTP; 2 Feb 2004 16:42:42 -0000 Message-ID: <20040202164244.2205.qmail@web60210.mail.yahoo.com> Received: from [139.72.1.30] by web60210.mail.yahoo.com via HTTP; Mon, 02 Feb 2004 08:42:44 PST Date: Mon, 2 Feb 2004 08:42:44 -0800 (PST) From: Hubert Rabago Subject: RE: Problems when not using html:form To: Struts Users Mailing List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Yes, but the server would have to find an app with the web.xml first, right? If my URL is at "http://my.domain.com/mywebapp1/jsp/Login.jsp" and the form is submitted to
, it would map to "http://my.domain.com/Login.do". Of course if the web app was deployed as the root application, then the web.xml mapping will kick in. --- "Slattery, Tim - BLS" wrote: > > Wouldn't "/Login.do" make the server look for a "Login.do" > > resource at the root of the server? > > Web.xml is usually set up to intercept *any* request ending in .do and send > it to the Struts ActionServlet. ActionServlet will then look for "/Login" > (in this case) in an "action" definition in struts-config.xml. In my > struts-config.xml, and I think it's the standard way to do it, all the path > attributes of the action definitions start with "/". So using "/Login.do" > would work as expected. > > > -- > Tim Slattery > Slattery@bls.gov > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org