I don't think submitting a form to a separate module is allowed by the
Struts tags.

Actions are specific to each module.  IIRC, You can define the same
path in different modules and they will be treated as different
mappings.  You can even define forms with the same form name in
different modules and they will be treated as different form bean
configurations as well.

You can hack your way around it, though, by manipulating the <form>
tag using javascript, but then you'd have the problem of how to access
the correct form through Struts tags.

Hubert

On Wed, 15 Sep 2004 23:46:16 +0100, Ricardo Gladwell
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm experimenting with struts modules, but I've encountered a problem
> whereby I have a struts <html:form> referencing an action in my
> non-default module. Instead of referencing the correct action, I get a
> "Cannot retrieve mapping for action" JspException.
> 
> How do I reference an action in another module from a html:form? Unlike
> html:link there doesn't seem to be a "module" attribute?
> 
> Kind regards...
> 
> --
> Ricardo Gladwell
> 
> ---------------------------------------------------------------------
> 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