6: Session Management
Fall 2005, David Matuszek
Write a servlet that, each time it is called, returns an HTML page containing the following information:
When the servlet (or Tomcat) is restarted, start counting all over again; that is, don't try to save data longer than the lifetime of the servlet.
Create a static HTML page containing your name, a link to the servlet, and any other information you would like to add.
Each time the servlet is called, it returns an HTML page containing the above information. The returned page should also contain another link to the servlet, so that it is easy to call the servlet repeatedly.
Do not use JSP on this assignment.
You can't really test your servlet with a single browser on a single machine; even if you open two browser windows, the servlet will see only one session. However, unrelated browsers don't share cookies, so you can run two or more simultaneous sessions by calling the servlet from different browsers; say, from Internet Explorer, Firefox, Opera, or Safari. (I don't know whether closely related browsers, such as Netscape and Firefox, might share cookies.)
web.xml) and submit via Blackboard.