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 <form action="/Login.do">, 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" <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

