I have a form in a
JSP page which accepts several fields from the user. After entering these fields the user can select either "Add this vendor" or "Add Location for this vendor". If "Add this Vendor" is selected, the controller
servlet will insert all these fields into the database.
Once the values are inserted in the database(executeUpdate() is done), the user should see a message saying "Insert successful" and also come back to this first JSP, so that he can enter "Location" now. How do I achieve this?