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.deb...@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..
                                          

Reply via email to