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
Explain load on start-up and its importance?
Differentiate between the print writer and servlet output stream?
how many jsp scripting elements are there and what are those?
Can filter be used as request or response?
Explain servlet life cycle?
What is the difference between the http servlet and generic servlet?
How is a servlet implemented in code?
Is servlet synchronized?
What is api in servlet?
Who is responsible for writing a constructor?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What is Servlet API used for connecting database?
How can we perform any action at the time of deploying the project?
What is a servlet engine?
What are its drawbacks of cgi?