-1

I have this struts form:

<s:form ...>
    <input id="foo" value="123"/>
</s:form>

I change the value of foo then I hit back button. When I come back , foo has lost my value and now is 123.

How can I avoid this ?

Stephan
  • 40,082
  • 60
  • 228
  • 319

1 Answers1

0

This is less of Strust's concern but more of browser's decision.

Check out the following related discussions:

Browser back button restores empty fields

Clear Form on Back Button? (doing the opposite)

Community
  • 1
  • 1