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 = isTokenValid(request); isTokenValid(request) to see if a double submnit happened. -- HTH, Ted. http://www.husted.com/poe/ 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 know how I can solve that? > > I'm trying to use Struts Dialog: > http://struts.sourceforge.net/strutsdialogs/dialogaction.html > > I implemented an app using that but it still has the same problem... why? > maybe I'm doing something wrong??? I followed the login sample. But in my > case I have a NewData module. > > thanks in advance... > > -- > Rafael Taboada > Software Engineer > > Cell : +511-97753290 > > "No creo en el destino pues no me gusta tener la idea de controlar mi vida" > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]