Hi,

If the url tag is used to generate an URL for the form tag:

<s:url id="postUrl" value="foobar.action" includeParams="all" encode="false"/>
<s:form action="%{#postUrl}">

The generated HTML form tag becomes as following:

<form ... 
action="/sample/foobar.action?user.email=mail&amp;amp;user.gender=MAIL&amp;amp;...

Sounds like the '&' is escaped twice. I think the following fix works fine:

--- UrlHelper.java (Line 171) ---
// buildParametersString(params, link);
if (encodeResult) {
   buildParametersString(params, link);
}
else {
   buildParametersString(params, link, "&");
}

Or is there any work around for this issue?

Thanks,

--
Ruimo Uno
(Shisei Hanai)

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

Reply via email to