OK, what I think that you are saying is that after a database operation, a refresh on the browser causes the database operation to be run again? Is that it?
If so, then you need to read this article, paying particular attention to the P-R-G pattern.
You can redirect to the confirm page once you completed the database operation.
Ex: You are taking/asking the data in register.jsp
Complete the database operation in servlet then instead of forwarding, redirect the registrationConfirm.jsp
Hope it will helps you
Thanks & Regards<br />Mallik Avula<br />SCJP1.4
All of life is a contant education - Eleanor Roosevelt. Tiny ad: