SRV.S.17 Changes Since Servlet 2.4 SRV.17.0.1 Session Clarification
Clarified Section SRV.7.3, �Session Scope� to allow for better support of session ids
being used in more than one context. This was done to support the Portlet specification
(JSR 168). Added the following paragraph at the end of Section SRV.7.3:
�Additionally, sessions of a context must be resumable by requests into that
context regardless of whether their associated context was being accessed directly
or as the target of a request dispatch at the time the sessions were created."
Made the changes in Section SRV.8.3, �The Include Method� by replacing the
following text:
"It cannot set headers or call any method that affects the headers of the
response. Any attempt to do so must be ignored."
with the following:
"It cannot set headers or call any method that affects the headers of the
response, with the exception of the HttpServletRequest.getSession() and
HttpServletRequest.
getSession(boolean) methods. Any attempt to set the headers must
be ignored, and any call to HttpServletRequest.getSession() or HttpServletReCHANGE
LOG
Final Version
287
quest.getSession(boolean) that would require adding a Cookie response header
must throw an
IllegalStateException if the response has been committe...