Submit « Database « JSP-Servlet Q&A





1. People clicking Submit twice confuses database    coderanch.com

If people get impatient and click the submit button more than once for my surveys, the data gets sent more than once to the database - resulting in some questions writing multiple duplicate answers and some throwing exceptions... Is there any way to stop this happening? I have sometimes seen websites which explictly say "Submit. Please click only once" but I ...

4. Not able to retrive data from database after submitting from servlets    forums.oracle.com

This is the code i wrote in the servlet to retrive the data from database. I have designed the servlets such that whenever i press for "name" and "id" and if it is present the database, it wil redirect to success jsp page, otherwise it wil redirect to failure jsp page. So, whenever i enter the updated data in the first ...