There are lots of solutions to this. One way is to generate a key that goes along with the form data. The key is added to some map when the form is created. When the user clicks once the key is removed from the map. If the user clicks again, you check if the key exists and because it doesn't you don't handle the command.
You could also use a redirect when you return the next view after you handle the form submission. (I think you can do that with
Struts.) I don't think there any "out of the box" solutions to this. But hopefully these ideas will get you started on your own solution.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED