struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Slattery, Tim - BLS" <Slattery....@bls.gov>
Subject RE: Problems when not using html:form
Date Mon, 02 Feb 2004 16:19:49 GMT
> 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


Mime
View raw message