Hi,
We build a single framed page by running two servlets - button bar and data frame...
Both servlets access the same session.
I'll try to explain the problem:
Two Servlets - call them AA and BB running concurrently - like when building a page using two servlets...
AA runs and does a putValue in the session, then calls a getValue later on in the servlet... all OK so far... servlet is still running...
Meanwhile, servlet BB starts up and does the same putValue on the same key name, then does a getValue later on in the servlet... all OK so far...
Now servlet AA which hasnt finished yet and is still in the doGet, does a getValue on the session on that original key name, and it comes back null... but at seemingly random times - but for arguements sake, say its once every 100 attempts...
So what is going on? The key/value pair that I'm putting in the session is simply a String/String pair.
Do people think that the fact that the 2nd servlet has done a putValue has somehow chnaged the reference to the value, and so the 1st servlets ref point is now null?
Cheers