When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answer Posted / mahesh
Container creates instance of servlet by calling
Class.forName(className).newInstance().
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What do you mean by deployment descriptor?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What are all the advantages of servlet over cgi?
Why servlet is used as controller ? Not JSP? I want complete explation?
Write a program to show the functionality of servlets.
What do you mean by session tracking?
What do you mean by request dispatcher in servlet?
What is a servlet-to-servlet communcation?
What methods do you use in servlet - applet communication?
What are the different types of servlets?
what do you understand by url rewriting?
Explain the role of dispatcherservlet and contextloaderlistener.
Can we use the constructor, instead of init(), to initialize servlet?
What do you mean by cgi in servlet?
What are the various ways of session supervision in servlets?