Can we define constructor in Servlet class?
Answer Posted / jayakrishna
init() is there what is the need of constructor.If is ther
who will call the constructor? servlet container will call
the init method
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Whether thread can be used in servlets?
What is the difference between a generic servlet and http servlet?
How to rectify errors in java servlet while compilation?
How would you create deadlock on your servlet?
What do you mean by httpservlet?
What is servlet instance?
What is servlet mapping?
What do you mean by deployment descriptor?
What is http servlet? Explain with the help of an example.
What are the uses of servlet and what is servlet chaining?
Which method is called when reference variable is passed in system.net?
What is servlet in simple terms?
Can we fetch the attributes related to a servlet on a different servlet?
Explain is servlet mapping?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?