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 is the purpose of dispatcherservlet properties?
What are different ways for servlet authentication?
how many jsp scripting elements are there and what are those?
What's the advantages using servlets than using cgi?
What is the difference between context parameter and context attribute?
What are the types of protocols supported by httpservlet ?
How will you pass values from HTML page to the servlet?
List the Different types of servlet?
Explain the difference between generic servlet and http servlet?
List out the difference between ServletConfig and ServletContext?
Can servlet have a constructor ?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
Why doesn’t a servlet include main()? How does it work?
Can you create a deadlock condition on a servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255