Double submission occurs when a form is submitted twice, either accidentally or intentionally. This can lead to duplicate data being saved in the database, which can cause problems with data integrity. Double submission can also be a security risk, as it can be used to trick users into submitting sensitive information multiple times.
There are a number of ways to avoid double submission in Struts. One common approach is to use a token. A token is a unique identifier that is generated for each form. When the form is submitted, the token is included in the request. The server can then check the token to see if it has been used before. If the token has been used, the server can reject the request.