Reading some book that said the servlet is singleton from the container side. Is this true?
However even it is a singleton, we need to handle data synchronization etc
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. You can instantiate the same servlet class many times under different servlet names and URLs in the same web container and indeed in the same web-app.