Monday, February 21, 2011

ServletContext and Session object

Hi,

Is the ServletContext and Session object which we get from request object (HttpServletRequest) behave the same ?

From stackoverflow
  • Sessions are user specific.

    Servlet contexts are essentially global (within the context of that servlet), meaning all users who hit that servlet will share the same servlet context.

  • do some reading

0 comments:

Post a Comment