Wednesday, April 6, 2011

Session object using ServletContext

Is there any way to get an object which will be there throughout the session from ServletContext object??

From stackoverflow
  • No, it's not possible to get the session from the ServletContext.The point of the ServletContext is to get application scope attributes rather than session scope.

0 comments:

Post a Comment