Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Obtaining session object from context

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HttpSession objects must be scoped at the application (or servlet context) level.
Above is from the servlet spec. Does this indicated that HttpSession object can also be obtained from ServletContext ?

Regards,
Joshua
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that is referring to objects (attributes) within a session, not a way of obtaining a session.

Where exactly in the spec does it say that?
[ June 18, 2007: Message edited by: Marcus Green ]
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that is referring to objects (attributes) within a session, not a way of obtaining a session.


I meant the same, just placed wrong wordings...

Where exactly in the spec does it say that?

SRV.7.3 Session Scope

Regards,
Joshua
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic