Come in, Marco

jabber (jabber)
From business perspective, a sequence of requests and responses construct a session. For each client, the servlet engine manages a session for it using cookie or URLRewriting.

In the design of Servlet API, however, Sun chose request and response as central points and attached HttpSession to request object. This is opposed to our normal common sense, but this is also a kind of pattern(Sorry I cannot remember the name of this pattern.)

I have ever read a paper in which the author criticised this design.

Dispatcher just provides us with an API. to make things work, Servlet engine needs to support it INTERNALLY(or INVISIBLY).
2000-10-31 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: How can JSP page get correct session object?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论