If you are using the "dynamic invocation syntax" or wildcards, then
you could try

<s:url id="theUrl" action="gotoEditUsers!edit">

-T.


On 10/10/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
<s:url id="theUrl" action="gotoEditUsers" method="edit">
                                        <s:param name="username" 
value="%{username}"/>
                                </s:url>
<s:a href="%{theUrl}">Details</s:a>

is being rendered as:

<a href="/agejsofts2/gotoEditUsers.action?username=admin">Details</a>

Thanks
Shawn

---------- Forwarded message ----------
From: "Don Brown" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Mon, 9 Oct 2006 19:33:58 -0700
Subject: Re: [Struts 2] s:url method attribute being ignored
What is the url the tag generates?

Don

On 10/9/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
> I set the action and method attributes on the s:url tag and it's still
> calling the execute method.
>
> Any help?
>
> Shawn

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

Reply via email to