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 a server side include (ssi)
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What if you need to span your transaction across multiple servlet invocations?
Differentiate between the print writer and servlet output stream?
What is the difference between the servlets and cgi programs?
When jsessionid is created?
What are different ways for authentication of servlet?
What is the difference between portlet and servlet?
How can we refresh automatically when new data is entered into the database?
What are the differences between the servletconfig interface and the servletcontext interface?
What is the difference between get and post methods?
Which HTTP method is non-idempotent?
What are the different types of servlets?
What are the steps involved in placing a servlet within a package?
Is that servlet is pure java object or not?