I'm wondering how these are used. They're not mentioned in the O'Reilly book
or in the docs. After calling generateToken, do I need to wrap my action's
execute code in an isTokenValid block to check for an existing token?
For example...
execute(...) {
generateToken(request);
search the mailing list archive for Token mechanism in Struts:
U will find teh answers...a few very good mails...
-Original Message-
From: akriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 4:09 PM
To: struts-user
Cc: akriger
Subject: a question about transaction tokens
PROTECTED]]
Sent: Friday, December 13, 2002 10:05
To: [EMAIL PROTECTED]
Subject: RE: a question about transaction tokens
search the mailing list archive for Token mechanism in Struts:
U will find teh answers...a few very good mails...
-Original Message-
From: akriger [mailto:[EMAIL PROTECTED
:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:05
To: [EMAIL PROTECTED]
Subject: RE: a question about transaction tokens
search the mailing list archive for Token mechanism in Struts:
U will find teh answers...a few very good mails...
-Original Message-
From: akriger [mailto
To implement is pretty straight forward
Action A -- generate token route to JSP A
JSP A routes to Action B -- In action B call isTokenValid
if you want to continue Token validation call saveToken then
route to JSP C.
JSP C then routes to Action C -- call isTokenValid then call
.
-a
-Original Message-
From: Brian DeLuca [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 10:33
To: [EMAIL PROTECTED]
Subject: RE: a question about transaction tokens
To implement is pretty straight forward
Action A -- generate token route to JSP A
JSP A routes to Action B
Hi All,
I have just installed the struts1.0 b1 and the struts-example app. I wonder how the transaction token key works.Can anybody explain that to me please(it is a great stuff).
I checked out the code a bit and found out that struts is creating a transaction token key by convereting the
() returns true, else
false . Hope this helps.
cheers,
Amar..
-Original Message-From: yogesh kapoor
[mailto:[EMAIL PROTECTED]]Sent: Friday, May 04, 2001 1:11
PMTo: [EMAIL PROTECTED]Subject: A Question
about Transaction Tokens
Hi All,
I have just installed
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: A Question about Transaction Tokens
Date: Fri, 04 May 2001 17:11:15
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Hi All,
I have just installed the struts1.0 b1 and the struts-example app. I wonder how the transaction tok
9 matches
Mail list logo