You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by GitBox <gi...@apache.org> on 2022/10/10 15:52:02 UTC

[GitHub] [struts] burtonrhodes commented on pull request #571: [WW-5190] Fixes StackOverflowException when dispatching request

burtonrhodes commented on PR #571:
URL: https://github.com/apache/struts/pull/571#issuecomment-1273516984

   This change is breaking my ExecuteAndWait implementations using the [recommended refresh implementation](https://struts.apache.org/core-developers/execute-and-wait-interceptor). The resulting url appends the file with "!methodName" making the url invalid.
   
   A real world example is below:
   
   ```
   <action name="LetterMergeBulk_contactList" class="com.afs.web.struts.action.letters.LetterMergeBulkAction" method="contactList">
       <interceptor-ref name="openSessionExecuteAndWaitInterceptor" />
       <result name="wait">/struts/letters/letterMergeBulkWait_popup.jsp</result>
       <result>/struts/letters/letterMerge_popup.jsp</result>
   </action>
   ```
   
   Results in (v6.0.3)
   ```
   /afs/app/LetterMergeBulk_contactList!contactList.action?struts.token.name=token&token=A9SIKBABK17IZFM6AHSP0QSFIJHLZKJB&letterTemplateId=14773
   ```
   
   Instead of (v6.0.0)
   ```
   /afs/app/LetterMergeBulk_contactList.action?struts.token.name=token&token=A9SIKBABK17IZFM6AHSP0QSFIJHLZKJB&letterTemplateId=14773
   ```
   
   Using HTML Header
   ```
   <head>
      <title>Please wait</title>
      <meta http-equiv="refresh" content="5;url=<s:url includeParams="all" />"/>
   </head>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org