struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Struts2 token problem
Date Mon, 18 Aug 2014 19:59:17 GMT
you have both html forms use the same action but then you would need to synchronize access
method to saving/reset of token

Here is an example:
http://www.coderanch.com/t/51602/Struts/Duplicate-form-submission-Synchronizer-Token

Martin 
____________


> Date: Mon, 18 Aug 2014 15:18:25 +0530
> Subject: Struts2 token problem
> From: arpan.debroy@gmail.com
> To: user@struts.apache.org
> 
> HI All,
> 
> I am facing an issue related to maintaining session token value when we
> have window forms.
> 
> We have a main form, which needs token to submit.
> There is a link through which we can open a window , which also needs token
> and can submit the form.
> Once we close the window and try to submit the main form, we get token
> mismatch error. Because the session token had changed by this time.
> 
> 
> Is there any solution for this issue.
> 
> Thank in advance..
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message