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
bute(Globals.TRANSACTION_TOKEN_KEY); > > > > if you really really want to get rid of it. > > > > Craig > > > > > > > > > > > > > > > > > > > > >>Cheers. > > >>Guillermo. > > >> > >

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
RANSACTION_TOKEN_KEY); > > if you really really want to get rid of it. > > Craig > > > > > > > > > > > > >>Cheers. > >>Guillermo. > >> > >>-Original Message- > >>From: Ding Lei [mailto:[EMAIL PROTEC

Re: Browser's refresh problem

2004-07-12 Thread Craig McClanahan
really really want to get rid of it. Craig 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's a UserAddAction, which adds t

Re: Browser's refresh problem

2004-07-12 Thread Ding Lei
> > 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's a UserAd

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 H

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 pr

Browser's refresh problem

2004-07-12 Thread Ding Lei
Hi all, There's a UserAddAction, which adds the user record to the database, and when it's done it redirects the user index page. the problem is that everytime the user clicks refresh at the user index page, the same record is added again. I know that unique check is required, but I also ho