In the past I've had to prepend "<%=request.getContextPath()%>" to the action string, 
so that the app server knows the context of the request.  

Ie.     action="<%=request.getContextPath()%>/Login.do"



> -----Original Message-----
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: 02 February 2004 16:27
> To: 'Struts Users Mailing List'
> Subject: RE: Problems when not using html:form
> 
> > 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]

Reply via email to