Servlets and Databases (msterjev again) and the other experts
I did not say it was wrong msterjev.
The thing is I am trying to insert one value into 2 tables contained in the database after checking whether it already exist or not and then give a message if it does or continue adding to the two specified tables in the servlet code. eg if a name is entered in the html page . the servlet should be able to add it into the two tables. I quite aware that you can be helpful again. Sample codes will be appreciated.
And (msterjev) thank you for the loggin servlet sample code which can be easily understood.