struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Massie" <Daniel.Mas...@intronet.com>
Subject RE: Form action context is default rather than the module's context
Date Fri, 03 Dec 2004 11:39:21 GMT
It actually looks as though the correct module is being detected when the request is processed,
and forwarding to the correct jsp, but the module context is being lost when the JSP is processed,
thus the wrong action in the form. Is there any reason for the context being lost?

Daniel

-----Original Message-----
From: Daniel Massie 
Sent: 03 December 2004 09:08
To: user@struts.apache.org
Subject: Form action context is default rather than the module's context


Using a module I go through an action to a JSP containg a form (using html:form). The action
attribute of this form
is the same as an action defined in a module's struts config ie /Login, but when the page
is accessed the full form action is the ${default context}/Login rather than ${default context}/${module}/Login
thus resulting in the form being posted to the Login action of the default module. The action
mapping does not specify contextRelative=true in the forwards.

Any help is much appreciated.

Thanks
Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message