• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Obtaining session object from context

 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 2813
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic