>> How do you refresh the page?
>>
> <html:form action="/whateverAction">
>   <html:hidden name="oldForm" property="oldFormProperty" /> <!-- This is
> for each property posted before -->
>   <html:text property="newProperty" /> <!-- This is for each new
> property -->
> </html:form>

What I meant is that if you always resubmit, then you cannot refresh a
form without resubmitting again.

On 4/28/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote the following on 4/28/2005 3:16 AM:
> > <html:form action="/whateverAction">
> >     <html:hidden name="oldForm" property="oldFormProperty" /> <!-- This is
> > for each property posted before -->
> >     <html:text property="newProperty" /> <!-- This is for each new
> > property -->
> > </html:form>
> 
> Blah. Maintenance nightmare. Use the Session if you need your form to
> persist across requests.
> 
> I don't see your point about the form being opened in other windows and
> having it interfere. If you have to control so that duplicate submits
> are  not performed, than implement the struts token stuff. Much cleaner
> than populating hidden variables etc.

What if you DO need to go back and to resubmit? Also, this does not
spare you from "Do you want to resend POSTDATA?" window.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to