I have two actions: searchResults and searchForm. I am trying to create a link from searchResults back to the searchForm while passing all of the user's search parameters. To do that, I tried using the s:url tag with includeParams="all." The problem is that the resulting link takes me back to searchResults instead of going to searchForm (even though I specified searchForm in the action tag).
There is nothing wrong with the code. My guess is that the extra parameters are present in the first request to searchResults action, and then they get added to the generated link since you are using includeParams="all".
Check if you are submitting these parameters through query string or a form submission when the searchResult action is invoked the first time.
If yes, then the solution is to either remove those parameters, or use includeParams='get' if that serves your purpose. Otherwise, you may have to fall back to setting includeParams='none' and adding the required parameters manually using <s:param>
The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny GillTweets