When we don't write any constructor for the servlet, how
does container create an instance of servlet?
Answers were Sorted based on User's Feedback
Answer / mahesh
Container creates instance of servlet by calling
Class.forName(className).newInstance().
Is This Answer Correct ? | 15 Yes | 0 No |
Answer / 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 |
What is the major difference between context parameter and context attribute?
Why jsp is better than servlet?
What are the functions of an intercepting filter?
What do you mean by chaining in servlet?
Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?
Write a hello world program using servlets.
why are extending GenericServlet and why are extending HttpServlet explain?
What is the difference between context parameter and context attribute?
When Servlet is unloaded?
What is Difference between JavaBeans and taglib directives?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
Explain servlet.