The Web Application and the Session

The Web application, as explained previously, is a combination of components, from static HTML, graphic images, text to the dynamic content provided by JSP pages and servlets. When a user accesses a site using their browser, they are accessing any number of these components. Each user access is represented by a request to the Web server. This request is directed to a location which results in a response being generated by an HTML page, a JSP page or a servlet. Over the course of a visit to a site, a user may access more than one of these locations over a period of time. This association between the HTTP client (the user's browser) and the HTTP server (the Apache or Tomcat server) is considered a session. Though ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.