Is the ServletContext and Session object which we get from 开发者_如何学Gorequest object (HttpServletRequest) behave the same ?
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.
精彩评论