2 Answers

0 votes
Only one object at the time of first request by servlet or web container.
answered Jun 20, 2016 by Narayana
0 votes
Only one instance of servlet exist (per classloader) , and each request will be served on its own thread

So is there any thing that is shared amongst requests you need to manage synchronization
answered Jan 4, 2017 by Govind123

Related questions

How to read a cookie using servlet?

To read cookies, you need to create an array of javax.servlet.http.Cookie objects by calling the getCookies( ) method of HttpServletRequest. Then cycle through the array,...

solved
java, servlet, jdbc 2 Answer 63 views asked Jun 30, 2016 in Java by Nani