struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Thomas.Zygadlew...@swisslife.ch>
Subject AW: Struts 1.3.8 Globals.TOKEN_KEY always empty -> therefor: isTokenValid() is always false
Date Tue, 28 Aug 2007 06:56:10 GMT
Thats sadly not quite true... saveToken() is fillig the Globals.TRANSACTION_TOKEN_KEY attribute.
You can find the operation in the tokenProcessor.class. 

And thats why im still stuck with the old problem :( 

-----Urspr√ľngliche Nachricht-----
Von: Paul Benedict [mailto:paulus.benedictus@gmail.com] Im Auftrag von Paul Benedict
Gesendet: Dienstag, 28. August 2007 03:08
An: Struts Users Mailing List
Betreff: Re: Struts 1.3.8 Globals.TOKEN_KEY always empty -> therefor: isTokenValid() is
always false

Globals.TOKEN_KEY is the name of the parameter that should be submitted back to your form.
This is automatically outputted by <html:form> if the triggering action called saveToken().

Thomas.Zygadlewicz@swisslife.ch wrote:
> Hello,
>  
> I need to fill the "Globals.TOKEN_KEY" from the session to be able to
> use saveToken() and isTokenValid() methods.
> saveToken is only filling the "Globals.TRANSACTION_TOKEN_KEY"-Variable.
>  
> can someone help me out?
>  
> regards, Tom
>
>
>
>  
>
>   

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


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


Mime
View raw message