A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Attribute in ServletContext
Joined: Aug 14, 2003
Mar 08, 2004 13:39:00
If I put attributes in the
I have the problem that this attributes will be visible per everybody ??? Using session I dont have this problem, because session is per browser. OK?
Joined: Mar 04, 2004
Mar 09, 2004 02:29:00
There is one
per application so yes attributes of this object are avaliable application-wide. The Session object is bound to a particular session id and so is avaliable only to a particular client session.
I agree. Here's the link:
subject: Attribute in ServletContext
Attributes, Session and ServletContext
Access attribute of other Web Application
Question on attributes
HFS page274, question7
ServletContext is not distributable...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014