Win a copy of Learning Java by Building Android Games this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Obtaining session object from context  RSS feed

 
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
 
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
Boost this thread!