After upgrading to Struts 6.0.x, the format of the url returned when using
includeParams seems to have changed. It now includes "!queue.action" which
is causing issues in my application. I am using it during an executeAndWait
call to refresh the page (using refresh logic in my javascript). Is this a
bug?
*Struts.xml Definifation Action*
<action name="SendEmail_queue"
class="com.afs.web.struts.action.email.SendEmailAction" method="queue">
<interceptor-ref name="openSessionExecuteAndWaitInterceptor" >
<param name="delay">500</param>
</interceptor-ref>
<result
name="wait">/struts/common/progressMonitorWait_popup.jsp</result>
<result>/struts/email/sendEmailResult_popup.jsp</result>
<result name="input">/struts/email/sendEmail_popup.jsp</result>
<result name="error">/struts/common/error/error_popup.jsp</result>
<result name="login">/struts/common/login/login_popup.jsp</result>
</action>
*Tag Application*
*(html)*
<input type="hidden" id="refreshUrl" value="<s:url includeParams="all"/>"/>
(javascript)
refreshUrl = new URL(window.location.origin + $('#refreshUrl').val());
*Current Output*
/afs/app/SendEmail_queue!queue.action?struts.token.name
=token&token=BJKMBT7FZH6LNTI553HE7ZP1EM6XZEMN&emailQueueId=1234
*Output Prior*
/afs/app/SendEmail_queue?struts.token.name
=token&token=BJKMBT7FZH6LNTI553HE7ZP1EM6XZEMN&emailQueueId=1234
Thanks in advance.