Hi,

From the constructed url I assume you refer the url like this:
<a href="<s:property value="%{msgUrl}"/>">some message</a>

Try using <s:a/>, like this

<s:a href="%{#msgUrl}">some text again</s:a>

AFAIK, <s:a /> will give you the correct url.

HTH,

MK Tan
On 5/1/07, David Harland <[EMAIL PROTECTED]> wrote:

Hi,

I think I have found a bug with the url tag. If I have a url with 2
params

<s:url id="msgUrl" action="test" method="delete">
<s:param name="lastPage" value="%{'home'}" />
<s:param name="messageId" value="%{test.messageId}" />
</s:url>

I get

%{msgUrl} gives

/test/test!delete.action?lastPage=home&amp;amp;messageId=3851761

Am I doing something wrong?


______________________________________________________________________
Ufi Limited
Registered in England No.  3980770
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP

learndirect Solutions Ltd
Registered in England No. 5081669
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP

UFI Charitable Trust
Registered in England No.  3658378
Registered Charity No.  1081028
Registered Office:  Dearing House, 1 Young Street, Sheffield, S1 4UP

This email has been scanned by the MessageLabs Email Security System.

______________________________________________________________________

Reply via email to