Which method the Servlet container call to create the
instance of the servlet?
Answer Posted / m.gangadhar from sathya techno
The ServletContainer is used default zero argument
constructor to create servlet instance then after it calls
init(ServletConfig cg) it internally calls init()for
initialization puposes.
Plz guys init() is not used for creation of servlet instance
| Is This Answer Correct ? | 26 Yes | 2 No |
Post New Answer View All Answers
Which HTTP method is non-idempotent?
What methodology can be followed to store more number of objects in a remote server?
Describe servlet?
What are different ways for servlet authentication?
What is the difference between genericservlet and httpservlet
Why session tracking is needed?
What is a servlet?
What is the difference between jsp and servlet life cycle?
Which http method is said to be non-idempotent and idempotent?
Explain the methods of request dispatcher in servlet?
Why do we have servlet wrapper classes?
What are advantages of servlets over cgi?
What's the use of servletcontext?
How can we upload the file to the server using servlet?
Can we override destroy method in servlet?