How to reset a html:form after submit

Discussions

General J2EE: How to reset a html:form after submit

  1. How to reset a html:form after submit (1 messages)

    hi, in struts html:form tag after got redirect when i referesh the page it will insert pervious form value to the database how to overcome this proplem

    Threaded Messages (1)

  2. Token field[ Go to top ]

    you can use the token field in the struts2 framework to avoid this issue. under the struts1 environment, you can manully insert a token field in the form, and match the random string in the session scope, thus, if you resend the form data, you can distinguish the outdated form data. good luck!