Hi all,

My application is written jsp and javascript.

When the refresh button is pressed at the top of the page the same
exact data is re-submitted again resulting duplicate data in the
database. Is there anyway of stopping this happening? From client-side
script, how can we detect that the "Refresh" button is click?