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


Efficient and scalable



Servlet Life Cycle

The Servlet life cycle have four steps:

  • Loading a Servlet
  • Initializing the Servlet
  • Request handling
  • Destroying the Servlet

  • Servlet History

    The Servlet was created by Sun Microsystems, with version 1.0 finalized in June 1997.

    © copyright 2017-2022 Completedone pvt ltd.