Simple form example with servlets


  1. First Create a view page which can be either a html or  jsp page under webpages.
  2. Create a servlet under source packages with the name displayname.java.
  3. Edit the web.xml page ..


                                                                                                                        




Output: