struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth S. Nair" <>
Subject Multiple Window and Struts2 token issue.
Date Thu, 07 Mar 2013 07:40:59 GMT
     I have a web app where its having a couple of operations say for
example Create User and Create Role. Both these forms are having struts2
token for handling duplicate submit. Its working as expected.

Now the problem is when try to open both of it and try to save both of it.
The window opened first is showing duplicate form submission error.
1) Open Create User in browser tab.
2) Open Create Role in another tab.
3) Try to save the Create User throws Duplicate Token error.
4) Try to save the Create Role, its saving as expected.

Since token is saved in http session i guess this could be a problem.

Can anybody tell me any workaround or fix for this.?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message