What is Servlet
The main purpose of servlet is development of web applications.Servlet is a java based program and executes in j2ee servers.Create dynamic web pages using Servlet, Servlet is secure.It is platform-independent.
In Servlet web pages would be generated on server side based on the request made by client.
Servlet Features
Portable
Efficient and scalable
Secure
Robust
Servlet Life Cycle
The Servlet life cycle have four steps:
Servlet History
The Servlet was created by Sun Microsystems, with version 1.0 finalized in June 1997.