Howdy,
The same code putting the object in the context will execute on all
machines in the cluster.  So while it won't be the same ServletContext
object (it'd be a different memory address in a different JVM instance),
the context will have the same attributes because your code executing in
the cluster is consistent.

If you mean to do something where client1 goes into tomcat1, puts object
in context, and that object is now present in all contexts in the
cluster, you're on your own.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Antony Paul [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, October 15, 2003 1:07 AM
>To: Tomcat Users List
>Subject: Servlet context in tomcat cluster.
>
>Hi,
>I need a quick answer. In Tomcat clustered environment(I dont know the
>configuration) is it possible to access the same servlet context on
>different machines from jsp and servlets. Is there any special coding
>required to do this. I wnat to put an object in the servlet context
which
>is
>to be accessed by servlets and jsps.
>
>Antony Paul.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to