When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answer Posted / mahesh
Container creates instance of servlet by calling
Class.forName(className).newInstance().
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
How can you use a servlet to generate a plain text instead of html?
What is called servlet mapping?
What is dispatcher servlet?
What is meant by a web application
What is the structure of the http response
how many jsp scripting elements are there and what are those?
What is the difference between using getSession(true) and getSession(false) methods?
Explain url encoding?
How can we perform any action at the time of deploying the project?
What do you mean by httpservlet?
Difference between java beans & servlets?
Can we override servlet service method?
Explain the differences between jsp and servlet.
Explain web container.
Explain web application directory arrangement?