seetharaman venkatasamy wrote:
Think of this ${sessionScope == null} ?
Hmm, After looking at JSP docs, I found that "sessionScope" and "seesion" are different object, first one is Map whereas later one is actual session object,
So I got a session object,
Now , question arises about how to check session existence, thus I checked its
nullabilty, like
But, it didn't worked out, because 'null' is a literal and not an object
So I found something new, which is valid for any object/values,
empty operator,
So finally it works !!,
Is it correct ?