tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47317] Incorrect session handling when using session="false" in page directive?
Date Tue, 22 Sep 2009 19:46:07 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Mark Thomas <> 2009-09-22 20:46:03 BST ---
The spec could be clearer but I think the intention is clear that if
session=false then a page isn't meant to be able to use the session.

There are a couple of places where the spec indicates this intention:
- the JavaDoc for JspContext.getAttribute(String,int)
- the JavaDoc for JspContext.getAttributeNamesInScope(int)
- same for PageContext
- JSP.1.8.2 says you can't define objects
and a number of others

With the suggested patch applied, various actions that the spec requires to
trigger an ISE do not.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message