struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mister Hundy" <mr_hu...@hotmail.com>
Subject Re: Transactional Control Tokens?
Date Fri, 01 Feb 2002 16:30:19 GMT
It prevents an erroneous double submit.  If your users use the back button 
or click submit twice the isTokenValid() will return false since the token 
was reset on the original call.

>In the struts-example application in (SaveRegistrationAction.java:190, 
>:161)
>the author calls the method saveToken(request) and then isTokenValid() and
>resetToken(). What does this use of transactional control tokens provide?
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>
>


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message