A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Attribute in ServletContext
HFS page274, question7
Question on attributes
ServletContext is not distributable...
Attributes, Session and ServletContext
Access attribute of other Web Application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014