
hai.. I have a database with a primary key(Employee id). I am having an insert form, display form, delete form and main page form. I want to validate the Employee id entered by the user in the insert form that means I want to check with the database, If it is already there in the database. I want to give an alert message when I try to submit the form. Employee id is a primary key for that table. so i did "Not null validation and Numeric validation" in javascript. How can I check the duplicate entry for Employee id while submitting the form?
PLZ REPLY.................

Please visit the following links:
http://www.roseindia.net/jsp/user-registration-form-using-jsp.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.