struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <>
Subject Re: Override form action URL
Date Wed, 09 Jun 2004 11:57:53 GMT
Its context relative...from the user guide...

"action - Use the value of this attribute as the name of a Action to be
looked up, and use the module-relative or context-relative URI found there.


----- Original Message ----- 
From: "Eric Jain" <>
To: "Struts Users Mailing List" <>
Sent: Thursday, June 03, 2004 3:20 PM
Subject: Re: Override form action URL

> > If so you can define a dummy action to which your form points. In the
> > dummy just forward to your actual action. In the rendered jsp/html page
> > you will see the dummy action.
> Thanks, unfortunately the example I gave was somewhat simplified. I'd
> rather avoid having to configure dozens of dummy actions. Furthermore,
> Struts will insist that actions mapped to nested paths be put in their
> own subapplications. And finally, the following mapping would not be
> possible:
>    /test/a/ -> /test/search?dataset=a
>    /test/a/1 -> /test/retrieve?id=1
> In the end, as far as I can see, all I need is a way to override the URL
> that is generated by the html:form tag. I just opened a feature request,
> see
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message