Passing multiple parameters via a <s:url/> Struts2 tag Passing multiple parameters via a <s:url/> Struts2 tag ajax ajax

Passing multiple parameters via a <s:url/> Struts2 tag


You may disable the URL escape behavior using escapeAmp="false" attribute. By default, this is enabled, so URL parameter & will render &. This will cause a problem on reading the parameter value with parameter name.

  1. You may need to read the parameter, request.getParameter("amp;pageNumber_hidden")
  2. You have stop escaping the entities by adding attribute escapeAmpand set the value false as part of the <s:url> tag (Recommended)

<s:url id="loadReportsForAPageInitial"       value="/loadReportsForAPage.action"        escapeAmp="false">