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.