This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a page that will output data from a database, this data is displayed in a form.
There are two buttons delete and update, update will allow me to update the database. Delete will delete that data from the database.
The form calls a servlet which will examine the button name and carry out the matching business logic.
I have been asked to add some more logic which when a user presses delete a prompt will be displayed asking are you sure u want to delete the data. This prompt will have two buttons yes and no.