struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shirishchandra.sakh...@ubs.com
Subject RE: a question about transaction tokens
Date Fri, 13 Dec 2002 15:05:06 GMT
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:akriger@greaterthanone.com]
Sent: Friday, December 13, 2002 4:09 PM
To: struts-user
Cc: akriger
Subject: a question about transaction tokens


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);
	if(!isTokenValid(request)) {
		// do action stuff
	}
	else
		return ???what???
}

thx
andy



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



--
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