I am working on a form that submits data to a JSP page with Java code.
<form method="POST" id="form1" action"<%=login%>">
<input id="btn" type="submit" value="Log in" />
However, I have observed that if the user holds down the enter button or presses the login button multiple times, it creates new sessions and requests each time. Is there a way to prevent this behavior while waiting for a server response?
Thank you!