Only a single instance of a servlet gets created, with each user request resulting in a new thread that is handed off to doGet or doPost as appropriate.
When the servlet is first created, its init method is invoked, so that is where you put one-time setup code. After this, each user request...