I have a JSP. Whenever, we submit the JSP and with all the fields filled, it inserts a new record in the DB.
Following is the form tag
<form name="Sorder" action="/sales/urn/show/maintain.do" method="post">
However, whenever the user presses the Refresh icon from the toolbar or does a right-click + refresh, it calls the action which inserts a new record in the DB. We want this not to happen i.e. whenever refresh is called, the action should not be performed.
Please if someone can guide me how to do this.