Forums Register Login

Obtaining session object from context

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
 

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
Could you hold this kitten for a sec? I need to adjust this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 641 times.
Similar Threads
Urgent Please : Whether WAS 4.0 supports Servlet 2.3 API ?????
Running an application bean method automatically on start?
Cannot get HttpSessionBindingListener method valueBound to trigger
session, mock, p 274 - 7 c - is correct?
request dispatcher
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:40:33.