I just wonder why does only one copy of a servlet get created. And if a brower requests a servlet for the first time. How does servlet deal with that. I know java will compile code before running it. How about servlet? Last, How is information stored in a session object?
I am new to java servlet, please help me.
service(..)method in a separate thread
<load-on-startup>configuration that lets you specify when should the container instantiate the servlet
Sessionobject is returned.