You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Stone, Sam" <ss...@constantcontact.com> on 2006/12/20 17:28:15 UTC

What happens if session is invalidated by a tile?

It appears that ServletSessionScopeMap.containsValue(...) will throw a
java.lang.IllegalStateException when getAttributes() is called on an
invalidated session but it doesn't seem that anything catches and
handles this.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


[tiles2] Re: What happens if session is invalidated by a tile?

Posted by Antonio Petrelli <ap...@apache.org>.
Stone, Sam ha scritto:
> It appears that ServletSessionScopeMap.containsValue(...) will throw a
> java.lang.IllegalStateException when getAttributes() is called on an
> invalidated session but it doesn't seem that anything catches and
> handles this.
>   

I think that the behaviour is correct, if the session is invalidated, 
then it's the task of the application (and not of Tiles) to intercept it.
What's your use case where this behaviour is not acceptable?

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org