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.
"

http://jakarta.apache.org/struts/userGuide/struts-html.html#link

Niall

----- Original Message ----- 
From: "Eric Jain" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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 http://issues.apache.org/bugzilla/show_bug.cgi?id=29363.
>
> ---------------------------------------------------------------------
> 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