All,
We use StrutsLinkTool pretty much everywhere and had been relying on the
previous behavior (tools 1.4) of StrutsLinkTool.setForward(String) which
takes a reference to a Struts-defined "forward" which is basically just
a URL.
In the past, we were able to define a URL in Struts like this:
<forward name="some-reference" path="/path/to/resource?foo=bar" />
Then, in the markup:
<a href="$link.setForward('some-reference')">link text</a>
It appears that somewhere in the modifications, the URL ha sbeen
sanitized and now "/path/to/resource?foo=bar" has been helpfully
replaced by "/path/to/resource%3Ffoo=bar".
Was this intentional? Is there a way to get the old behavior back?
Thanks,
-chris