A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
How token works in struts
Joined: Sep 09, 2005
Sep 09, 2005 02:16:00
can anyone explain me how
Joined: Feb 05, 2003
Sep 09, 2005 09:18:00
When saveToken() is called, a hidden field will automatically be added to forms in your jsps (assuming you use html:form). The Struts
stores [in session] the most recent token.
isTokenValid() checks to see if the hidden variable submitted with the form matches the most recent one set through the saveToken method.
A good workman is known by his tools.
I agree. Here's the link:
subject: How token works in struts
Multiple file Download
Struts interview questions...
Form does not carry data
Can I use the paramProperty from a hyperlink in a textfield in the called .jsp-page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015