Web tier: servlets, JSP, Web frameworks: Instance of a class in a servlet
If we have a servlet, in which in the service method() we have an instance of the class. Wht is going to call the instance of this class. like the servlet is called by the servlet container...wht will call the instance of the class...
- Posted by: Jayashree Gopalakrishnan
- Posted on: December 21 2002 08:20 EST
whos on first...
First web container will call the servlet's service() and when it come across class instance , its JVM's turn.