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
Can we use threads in Servlets?
How can a servlet be used to generate plain text instead of html?
Explain jsessionid and when is it created?
What are the phases of servlet life cycle?
How to get the path of servlet in the server?
What is the difference between sendredirect() and forward() in a servlet?
How do we translate jsp?
How do servlets work?
What is meant by Servlet? What are the parameters of service method?
What is the use of attribute in servlets?
Can we override destroy method in servlet?
What are the advantages of servlets over traditional cgi?
What is httpservlet and how it is different from genericservlet?
What is webservlet?
How do you find out what client machine is making a request to your servlet