What is servlet and its life cycle?
Answer / Varsha Dubey
A Servlet is a Java class that runs on a web server to handle HTTP requests. The Servlet Life Cycle consists of five phases: Loading, Instantiation, Initialization, Service, and Destruction.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is servlet a framework?
What is api in servlet?
What do you mean by servlet?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
Some examples where generic servlet is used?
Difference between Include, Forward and sendRedirect in Servlet?
What is servlet mapping?
What are the uses of servlet and what is servlet chaining?
How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?
Who is responsible to create the object of servlet?
What methods do we use in Servlet to Applet communication?
What is the difference between Server and Container?