I have created an applet but it has some errors. The error is, the code inside the try, catch block is not working. Apart from that all other works fine. Please help me to correct this code. here is a very little part of the code.
Ulf Dittmer wrote:The first thing to do is to put an e.printStackTrace() in the catch block. You should not ignore exceptions - at the least print some information to a console or log file.
Thanks for the reply. I did that...But no progress. I executed it in net beans, but didn't get any info regarding any error. Please help me. Here I am posting my new code
Ulf Dittmer wrote:Ask yourself this: Under which circumstances would the try/catch block ever be executed?
There should be no code before the opening of the try block. I removed all the form validations code and if else parts and it worked!! But the case is, that code is a must! I must check whether those given fields are empty or not before submitting the form. Actually this code is a part of my java project in my degree. I really appreciate your help. please help me. That form validation is a MUST!
I had to google a lot in order to find out "How to link using java". Now that is also not working as I need.
Forget about whatever you found or did there; that's not the problem.