nirav,
Welcome to Javaranch.
Originally posted by nirav soni parmar:
I need complete code for that.
This is not how Javaranch works.
We are happy to help someone out if they are in a pinch but only after they have shown some effort to help themselves.
If you aren't familiar with the technologies needed to build your app, you might want to start out by either buying some books or by looking for some web tutorials.
In this case is would try searching on Google with the following key words:
"Java Tutorial", "Servlet Tutorial", "HTML Tutorial", "JDBC Tutorial".
Once you get going, if you have any specific questions, by all means, stop buy and ask here.