CS6320:  SW Engineering of Web Based Systems

 

  

Exercise 1:  Servlet that Reads HTTP Request Headers

not turned in

  • Create a Servlet that extends HttpServlet.
  • It should read all of the headers sent in the HTTP request to the Servlet and print them out in a table in a new HTML page that the Servlet generates.

  •  

     
     
     

    HINT:  use getHeaders() method to retrieve the names of all of the headers sent.
     
     

    Post your work to your server account and test, then SHOW your work to your instructor for recording towards grade.

© Lynne Grewe