struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arpan <arpan.deb...@gmail.com>
Subject Re: Struts2 token problem
Date Tue, 19 Aug 2014 08:40:32 GMT
Hi Martin,

We are using struts2 and I didn't find savetoken and other methods to
manipulate session token value. Moreover we are using different actions for
main form and window form.

Thanks


On Tue, Aug 19, 2014 at 1:29 AM, Martin Gainty <mgainty@hotmail.com> wrote:

> 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