I have made one example , In which I have used Spring - mvc and hibernate. I have successfully insert data in the database table but after that I have refresh the page new entry is inserted.
Required Solution : When I refresh the page the database entry would not be inserted second time.