1.

How Duplicate Form Submission Can Be Controlled In Struts?

Answer»

In Struts, ACTION class provides two IMPORTANT methods which can be used to avoid duplicate form submissions.
saveToken() method of action class generates a UNIQUE token and saves it in the user’s session.isTokenValid() method is used then used to check UNIQUENESS of TOKENS.

In Struts, action class provides two important methods which can be used to avoid duplicate form submissions.
saveToken() method of action class generates a unique token and saves it in the user’s session.isTokenValid() method is used then used to check uniqueness of tokens.



Discussion

No Comment Found