Originally posted by Raukutam Sandeep:
Design u'r form just with HTML tags only and save the page with .html extension.
In action property of the form tag, give the path to .class(servlet) file.
As soon as u submit the form, it will look for the .class i.e., servlet file.
In the servlet write the code for inserting the values in a database. I think u know how to insert values in a database by retrieving the values from the form fields(using getParameter method of HttpServletRequest)...
Try this and get back...