This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am using jsp - servlet - jsp architecture for my application.
I have used employeeId as primary key in my employees table in mysql database. Now if a duplicate key is entered in the form, the database is throwing error stating duplicate primary key. Is there any way to handle that error and send an error.jsp instead?