Solved

SaveToken In struts

Posted on 2004-05-02
4
1,903 Views
Last Modified: 2007-12-19
Hi,

How do i Check Double Submit and if they use browser back and then submit in Struts

I mean How do i use SaveToken and IsValidToken
0
Comment
Question by:chgk
4 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 10984505
Write a start action

save the token in the start action, and then check it's valid in the action itself :-)

The registration action in the Struts examples show this in action...

EditRegistration is the start action

SaveRegistration is the one that stores the data (after checking the token)
0
 

Accepted Solution

by:
ba_pepper earned 20 total points
ID: 10986405
look up Synchronizer Token pattern

http://www.javaworld.com/javatips/jw-javatip136_p.html
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now