When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answer Posted / sk.jani
In the Servlet if we are not using any constructor
internally the compiler create the default Constructor.if u
want to see that default Constructor user this folling
command.
javap classname.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the GenericServlet class?
How to notify an object in session when session is invalidated or timed-out?
What is the use of servlet wrapper classes?
What is Request Dispatcher?
What is the type of method for sending request from http server?
How do you define a servlet?
Is it possible to have a constructor inside the servlet?
What are the phases of a servlet life cycle?
What is cookies in servlet with example?
What is called servlet container?
What is servlet mapping?
What do you mean by deployment descriptor?
Describe in brief RequestDespatcher?
What is servlet and its types?
What is the difference between Difference between doGet() and doPost()?