How to use token between action chains, properly?
问题 I have an action which I should protect it from CSRF attack. I have used Strut's tokenSession Interceptor to achieve this. <action name="showBranchSelection" class="action.Request.BranchSelectionAction" method="showBranchSelection"> <interceptor-ref name="tokenSession" /> <interceptor-ref name="basicStack" /> <result name="success"> /jsp/customer/request/branchSelection.jsp </result> </action> and works great where this action has been called directly from jsp. <s:form id=