D]
Sent: Friday, August 27, 2004 11:10 AM
To: Struts Users Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated submission.
Larry, what if an error occurs after form validation, but during
processing of the submit, which requires you to forward back to the
input page?
Erik
Zhang, Larry
.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 11:10 AM
To: Struts Users Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated submission.
Larry, what if an error occurs after form validation, but during
processing of the submit, which
Users Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated submission.
Larry, what if an error occurs after form validation, but during
processing of the submit, which requires you to forward back to the
input page?
Erik
Zhang, Larry (L.) wrote:
>I think the resetToken should
t; -Original Message-
> From: PC Leung [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 11:08 AM
> To: Struts Users Mailing List
> Subject: Re: My IsValidToken() cannot trap duplicated submission.
>
> I have resetted token like this in the beginning.
>if (!isT
done processing the
> >submitted form.
> >
> >-Original Message-
> >From: Erik Weber [mailto:[EMAIL PROTECTED]
> >Sent: Friday, August 27, 2004 10:57 AM
> >To: Struts Users Mailing List
> >Subject: Re: My IsValidToken() cannot trap duplicated s
/ put your logic here to process your action form
return mapping.findForward("goodForwardPage");
}
-Original Message-
From: PC Leung [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 11:08 AM
To: Struts Users Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated
aced as the
> > first place in your action that processes your
> > submitted form, instead of when you are done
> > processing the submitted form.
> > >
> > > -Original Message-
> > > From: Erik Weber
> [mailto:[EMAIL PROTECTED]
> > >
> >
> >-Original Message-
> >From: Erik Weber [mailto:[EMAIL PROTECTED]
> >Sent: Friday, August 27, 2004 10:57 AM
> >To: Struts Users Mailing List
> >Subject: Re: My IsValidToken() cannot trap
> duplicated submission.
> >
> >
> >Wh
of when you are done processing the submitted
form.
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 10:57 AM
To: Struts Users Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated submission.
When you are done processing the submitted
---Original Message-
> > From: Erik Weber [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 27, 2004 10:57 AM
> > To: Struts Users Mailing List
> > Subject: Re: My IsValidToken() cannot trap
> duplicated submission.
> >
> >
> > When you are done p
ocesses your submitted form, instead of when you are done processing the submitted
> form.
>
> -Original Message-
> From: Erik Weber [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 10:57 AM
> To: Struts Users Mailing List
> Subject: Re: My IsValidToken()
Mailing List
Subject: Re: My IsValidToken() cannot trap duplicated submission.
When you are done processing the submitted form, invoke "resetToken".
Erik
PC Leung wrote:
>After clicking submit button and then go back previous page,
>data is still there, click the submit butt
ent: Friday, August 27, 2004 10:54 AM
Subject: My IsValidToken() cannot trap duplicated submission.
> After clicking submit button and then go back previous page,
> data is still there, click the submit button again. record will be
> saved once more time. The IsValidToken cannot t
When you are done processing the submitted form, invoke "resetToken".
Erik
PC Leung wrote:
After clicking submit button and then go back previous page,
data is still there, click the submit button again. record will be
saved once more time. The IsValidToken cannot trap the duplicated
submission.
After clicking submit button and then go back previous page,
data is still there, click the submit button again. record will be
saved once more time. The IsValidToken cannot trap the duplicated
submission.
Initial page:
http://localhost:8080/erp/AddUserProfile.jsp
if clicking submit button, goes
15 matches
Mail list logo