feedback Form Feedback Form Name: Email: How did you find this site? Another Website A search engine A friend told you From an email Another way not listed here How would you rate my website: Excellent Good Average Poor Needs an Overhaul Comments or Suggestions: Enter any comments or suggestions you have here. Do you think this form looks nice? PrintFormParams PrintFormParams PrintFormParams /PrintFormParams import java.io.IOException;import java.io.PrintWriter;import java.util.Enumeration;import javax.servlet.ServletException;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;public class PrintFormParams extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintParams(request, response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintParams(request, response); } public void PrintParams(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); String htmlHeader = " Printed Form Parameters "; String htmlFooter = ""; out.println(htmlHeader); out.println(""); out.println(" Input Name Value "); Enumeration enum = request.getParameterNames(); while (enum.hasMoreElements()) { String inputName = (String) enum.nextElement(); String value = request.getParameter(inputName); if (value.length() != 0) { out.println("" + inputName + ""); out.println("" + value + ""); } else { out.println("" + inputName + ""); out.println("Null"); } } out.println(""); out.println(htmlFooter); }}