Re: Browser's refresh problem

2004-07-13 Thread Hubert Rabago
Any chance that you just forget the resetToken() call? http://husted.com/struts/catalog.html (search for "resetToken") --- Ding Lei <[EMAIL PROTECTED]> wrote: > On Tue, Jul 13, 2004 at 08:12:23AM -0700, Hubert Rabago wrote: > > --- Ding Lei <[EMAIL PROTECTED]> wrote: > > > > > > Hi Hubert, > > >

Re: Browser's refresh problem

2004-07-13 Thread Ding Lei
On Tue, Jul 13, 2004 at 08:12:23AM -0700, Hubert Rabago wrote: > --- Ding Lei <[EMAIL PROTECTED]> wrote: > > > > Hi Hubert, > > Thanks for your reply first .. but: > > > > On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > > > This is really how it's designed to work. For a form to

Re: Browser's refresh problem

2004-07-13 Thread Hubert Rabago
--- Ding Lei <[EMAIL PROTECTED]> wrote: > > Hi Hubert, > Thanks for your reply first .. but: > > On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > > This is really how it's designed to work. For a form to be resubmitted, > the > > user will have to regenerate the form, maybe by go

Re: Browser's refresh problem

2004-07-13 Thread Ding Lei
Hi Hubert, Thanks for your reply first .. but: On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > This is really how it's designed to work. For a form to be resubmitted, the > user will have to regenerate the form, maybe by going back two pages, to the > page that was shown *before

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
Hi Hubert, Thanks for your reply first .. but: On Mon, Jul 12, 2004 at 09:32:45PM -0700, Hubert Rabago wrote: > This is really how it's designed to work. For a form to be resubmitted, the > user will have to regenerate the form, maybe by going back two pages, to the > page that was shown *before*

Re: Browser's refresh problem

2004-07-12 Thread Hubert Rabago
This is really how it's designed to work. For a form to be resubmitted, the user will have to regenerate the form, maybe by going back two pages, to the page that was shown *before* the form. As you might already know, this protects against accidental double submits. If you're looking for an alte

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
Hi Craig, I guess you misunderstood what I said. The problem is that once the token is saved, even if I request the action again(NOT "refresh") manually(by clicking some link on the page, or submit a form), the token is still there! and thus the action is never executed second time.

Re: Browser's refresh problem

2004-07-12 Thread Craig McClanahan
Ding Lei wrote: Hello ... On Mon, Jul 12, 2004 at 10:50:46AM -0300, Guillermo Meyer wrote: Use Struts isTokenValid/saveToken schema in your addUsetToDatabase Action method. the problem is that once it calls saveToken(), the damn token stays there forever ... what's wrong with it? I ca

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
Hello ... On Mon, Jul 12, 2004 at 10:50:46AM -0300, Guillermo Meyer wrote: > Use Struts isTokenValid/saveToken schema in your addUsetToDatabase > Action method. the problem is that once it calls saveToken(), the damn token stays there forever ... what's wrong with it? > > Cheers. > Guiller

RE: Browser's refresh problem

2004-07-12 Thread Guillermo Meyer
Use Struts isTokenValid/saveToken schema in your addUsetToDatabase Action method. Cheers. Guillermo. -Original Message- From: Ding Lei [mailto:[EMAIL PROTECTED] Sent: Lunes, 12 de Julio de 2004 10:38 a.m. To: Struts Users Mailing List Subject: Browser's refresh problem Hi all, There

RE: Browser's refresh problem

2004-07-12 Thread Geeta Ramani
Hi Ding Lei: Use a redirect instead of a forward and that will solve your problem.. Geeta > -Original Message- > From: Ding Lei [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 9:38 AM > To: Struts Users Mailing List > Subject: Browser's refresh problem > > > Hi all, > > Ther