You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thilo Ettelt <te...@carmunity.de> on 2007/11/13 10:46:34 UTC

[s2] s:url and wildcards

I have noticed that it doesn't seem to be possible to construct a 
wildcard action using s:url, is that correct? Or am I doing something wrong?

<s:url action="'/content/'+someID+'/view'" id="testURL"/>
The corresponding action would be mapped like "content/*/view".

This will output an URL like "/content/'+someID+'/view'", instead of
"/content/100/view.action"

Please help,
thx in advance,


Thilo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [s2] s:url and wildcards

Posted by Dave Newton <ne...@yahoo.com>.
--- Thilo Ettelt <te...@carmunity.de> wrote:
> <s:url action="'/content/'+someID+'/view'"/>

<s:url action="%{'content/' + someID + '/view'}".../>

d.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org