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
How do we go with database connection and log4j integration in servlet?
Write a hello world program using servlets.
Why doesn’t a servlet include main()? How does it work?
What’s the difference between genericservlet and httpservlet?
Is servlet a framework?
When servlet object is created?
What is servlet initializer?
What are the key methods that are involved in processing of http servlets?
What is preinitialization of a servlet?
Why do we have servlet listeners?
What are the two important api's in for servlets?
What is the advantage of Servlets when compared with other server side technologies?
What do you mean by filter in servlet?
Can a jsp be called using a servlet?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?