struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sri Sankaran" <Sri.Sanka...@sas.com>
Subject RE: a question about transaction tokens
Date Fri, 13 Dec 2002 15:17:16 GMT
I've found The Mail Archive's (Marc) search to be most useful.  Try http://marc.theaimsgroup.com/?l=struts-user

Sri

-----Original Message-----
From: Andy Kriger [mailto:akriger@greaterthanone.com] 
Sent: Friday, December 13, 2002 10:21 AM
To: Struts Users Mailing List
Subject: RE: a question about transaction tokens


i'd love to do that however whenever i text search i get an error 'Text search not available
for this list'. i reported this on the mailing list a few days ago but got no response.

so, can someone answer my question here?

-----Original Message-----
From: shirishchandra.sakhare@ubs.com [mailto:shirishchandra.sakhare@ubs.com]
Sent: Friday, December 13, 2002 10:05
To: struts-user@jakarta.apache.org
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: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>



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