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 do you mean by the servlet chaining?
What is cookies in servlet with example?
Can you call a jsp from the servlet?
What are its drawbacks of cgi?
What is called Scriptlet?
Why do we need a constructor in a servlet if we use the init method?
What is difference between cookies and httpsession?
What are the mechanisms used by a servlet container for maintaining session information?
How to get the current httpsession object?
Name the packages that work with servlet?
Explain the difference between a web server and a web container?
What is URL Encoding?
What is servlet collaboration?
How can you push data from an Applet to a Servlet?
What do you mean by web applications?