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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to