Re: double submit problem

2006-01-09 Thread Rick R
Rafael Taboada wrote: Thanks for ur replies... I'm interested in tokens method Please, do u know a site where I can find more information about this??? I have an example and lesson here on it: http://www.learntechnology.net/struts-token.do -- Rick

Re: double submit problem

2006-01-09 Thread Rafael Taboada
Thanks for ur replies... I'm interested in tokens method Please, do u know a site where I can find more information about this??? thanks -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: double submit problem

2006-01-08 Thread Michael Jouravlev
On 1/6/06, Rafael Taboada <[EMAIL PROTECTED]> wrote: > Hi folks... I'm trying to solve my problem when an user submit a form and he > clicks the submit button more than twice. > > My app runs perfect... I mean, It saves data. But in this case, it saves > data as many clicks the user does. > > Do u

Re: double submit problem

2006-01-08 Thread Ted Husted
I can't speak to Struts Dialog, but in a typical Struts application you can guard against double submits by calling saveToken(request); in the "prepare" action that displays the form for editing. In the "process" action that handles the save, check boolean tokenValid = isTokenVal