Which method the Servlet container call to create the
instance of the servlet?
Answer Posted / v.bojjanna
first the web container call the servlet init(). after it
call the newInstance() for create the servlet object
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is a constructor needed in a servlet even if we use the init method?
What is SingleThreadModel interface?
What are the differences between servlet context vs servlet config?
How do you run a servlet?
What is Servlets and explain the advantages of Servlet life cycle?
What is cookie? Why is cookie used?
Write a servlet to upload file on server.
how the HTML data stored in web server?
How to get the current httpsession object?
Why do we need servlet filter?
What are the types of protocols supported by httpservlet ?
What do you mean by cgi in servlet?
What’s the use of the servlet wrapper classes??
Can servlet have a constructor ?
Why are http servlets used in programming?