WrappedHttpSession.getAttribute

Returns the object bound with the specified name in this session, or null if no object is bound under the name.

Note that this method returns the state of the object at the time of calling setAttribute(), any changes made to the saved object after calling setAttribute() will not be reflected in the object returned by this method.

returns java.lang.Object

Parameters

java.lang.String  key,