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
What are life cycle methods of a servlet?
What are the advantages of servlets over traditional cgi?
What is servlet and list its types?
How to make sure a servlet is loaded at the application startup?
Is it good idea to create servlet constructor?
What are all the ways for session tracking?
What is the difference between sendredirect() and forward() in a servlet?
What do you mean by cgi?
What do you mean by httpservlet and how it is different from the genericservlet?
Write the code to get the server information in servlet.
Why do we have servlet wrapper classes?
How do you run a servlet?
What is java servlet?
What’s the difference between genericservlet and httpservlet?
How can the referrer and the target urls be used in servlet?