-
1. Re: ServletContext in cluster env
slaboure May 23, 2002 4:31 AM (in response to vish)Vish,
You have to setup httpsession replication and store your data in the HttpSession object.
Cheers,
Sacha -
2. Re: ServletContext in cluster env
vish May 23, 2002 6:15 PM (in response to vish)> Vish,
>
> You have to setup httpsession replication and store
> your data in the HttpSession object.
>
> Cheers,
>
>
> Sacha
Sacha,
HttpSession's are related to a particular user. What if I store some value in ServletContext and keep changing the value for each call. I was interested to know if ServletContext gets replicated, then, no matter to which server my request goes I get a unique value, and ofcourse assuming the access the synchronized...
Thanks
Viswanath Ivatury -
3. Re: ServletContext in cluster env
derry May 25, 2002 6:00 AM (in response to vish)What I can say for Catalina:
You cannot replicate the ServletContext because the ServletContext incorporates node-specific data (listeners etc.) that cannot be replicated.
What is wrong with using a normal HTTPSession like Sacha mentioned it?
CU
Thomas