how the server knows the request is from the same client on this technique.
Considering the following two cases for the very first request from the web browser to the web container,
a. If the browser supports cookie, the cookie info will be included in the HttpServletRequest. The web container would know who the requestor was. For subsequence request, the container may continue using cookie (or it may use sessionid) to detect the requestor.
b. If cookie is not supported, the web container will have no idea who the requestor was. For subsequence request, the container would depend on jsessionid (which generated by HttpServletResponse.encodeURL)to identify the requestor.
In both cases after the first request, the web container can use sessionid to identify the requestor.
[ March 04, 2007: Message edited by: vu lee ]