Is it possible to have a constructor inside the servlet?
Answer / Shiv Shankar
"No, servlets do not have constructors. Instead, they are initialized through the service provider or web server."
| Is This Answer Correct ? | 0 Yes | 0 No |
can i call init() method in destroy() method of servlset. ?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is meant by Servlet? What are the parameters of service method?
What is Servlet API used for connecting database?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Difference between jakarta tomcat and apache Tomcat?
What do you mean by web applications?
When Servlet is unloaded?
What is a java servlet?
How do we share data using 'getservletcontext ()?
What are the mechanisms used by a servlet container for maintaining session information?
What are the steps that are involved in using the httpservlet class?