Re: synchronizer token - double submit problem

2004-10-18 Thread umamaheswara rao
Hi, Does the Struts 1.0 (synchronizer token)supports the following mechanism ? saveToken(request) ..? isTokenValid(request) ..? setting the hidden field in the form(Token value from session) automatically...? Thanks Uma Kagitha. --- Craig McClanahan <[EMAIL PROTECTED]> wrote: > Once y

Re: synchronizer token - double submit problem

2004-10-14 Thread umamaheswara rao
Hi, Good to get Response from you Mr. Craig McClanahan. Please find the following problem I've ... I've followed the article mentioned in javaworld (http://www.javaworld.com/javatips/jw-javatip136_p.html), Since I have BaseActionClass which extends Action class following are the Action cla

Re: synchronizer token - double submit problem

2004-10-14 Thread Jeff Beal
The tag inserts the token as a hidden field. umamaheswara rao wrote: Hi , Your help is apprciated. How do I set a token it to JSP ? do I need to have to set the token to the form bean(form.setToken("value from session with saveToken method")) in the action class which calls saveToken(req

Re: synchronizer token - double submit problem

2004-10-14 Thread Craig McClanahan
Once you've called saveToken(), the tag will automatically create a hidden field with a name that is known to the isTokenValid() and resetToken() methods -- you do not have to do anything at all in the JSP page for this to work. Craig On Thu, 14 Oct 2004 11:30:28 -0700 (PDT), umamaheswara rao <

synchronizer token - double submit problem

2004-10-14 Thread umamaheswara rao
Hi , Your help is apprciated. How do I set a token it to JSP ? do I need to have to set the token to the form bean(form.setToken("value from session with saveToken method")) in the action class which calls saveToken(request) method ? I understand the following process...but I got stu