Hi all... I am not able to insert the record into the database. I use able to execute my select statement . So to check the error i use System.out.println(). Using that i was able to get output just before line 1 . Below is my code.
My printStackTrace gives the following error
I am not able to locate the error in my insert statement. Can anybody help me out. Thanks in advance Ramya.A
Thanks amar...... My getConnection() is declared static only. I am able to manually enter the value into the data base. Say for like String sql = "Insert into EntryTable values('ramya','jp','beach'); where ramya,jp,beach are the value i wanted to insert into the database.
The problem arises when i try to take the data from my html page and then insert into the database.
To make sure whether i am able to get the data from html page i outputted the data in my console using System.out.println().
I was able to get the data output from the html page into my console. I dont know other than these what are the things i should take care off.