I posted a question about
servlet instance variable
thread safety yesterday. But I just got another basic question and figured it may be easier to post a separate thread here.
For a servlet like
1. if I have 10 users accessing "MyServlet" from different computers, does container let them share a single "MyServlet" instance with 10 different threads ?
2. if one user opens 10 windows or tabs on his computer to access "MyServlet", does container let these 10 tabs share a single "MyServlet" instance with 10 different threads ?
I think the answer to question 2) is YES. But for question 1), I guess it is yes but I am not sure.