Hi Guys ,
I have a doubt from long back, if I am wrong please correct me.
# For multiple requests to a
servlet ,instead of creating multiple instances webcontainer will create one copy for each request
thread,
so each thead will have it's own copy.
# Servlets are not thread-safe , then how they will work in Railway reservation where 100s clients used to access.
# Please give some code regarding this.
Thanks a lot