From: Cato, Christopher [mailto:[EMAIL PROTECTED]]
?> In Linux, how can I from a servlet set a variable (like a flag,
indicating that a certain userid is locked for writing) so that it is
persistent andcan be read from the other servlets in it's context??
If the servlets are all part of the same Web application, you could set
the flag as an attribute in the application context. All the other
servlets in the same application could see it them. Any servlet in the
application could also remove the attribute. The attribute will remain
in the application context for the life of the application, even if the
servlet that set it has terminated -- if that's what you mean by
persistent.
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]