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.
Thanks!
I just wonder why does only one copy of a servlet get created. And
Share
service(..)method in a separate thread.classfiles<load-on-startup>configuration that lets you specify when should the container instantiate the servletSessionobject is returned.