CSDT BLOG

DISCOVER COLLECTIONS AND BLOGS THAT MATCH YOUR INTERESTS.




Share ⇓




What is Servlet?

Bookmark

What is Servlet?

INTRODUCTIONTO SERVLET

Servlet technologyis used to create web application (resides at server side and generates dynamicweb page).

Servet technologyis robust and scalable as it uses the java language. Before Servlet, CGI(Common Gateway Interface) scripting language was used as a server-sideprogramming language. But there were many disadvantages of this technology. Wehave discussed these disadvantages below.

There are many interfaces and classes in the servlet API such as Servlet,GenericServlet, HttpServlet, ServletRequest, ServletResponse etc.

Servlet can be described inmany ways, depending on the context.

  • Servlet is a technology i.e. used to create web application.
  • Servlet is an API that provides many interfaces and classes including documentations.
  • Servlet is an interface that must be implemented for creating any servlet.
  • Servlet is a class that extend the capabilities of the servers and respond to the incoming request. It can respond to any type of requests.
  • Servlet is a web component that is deployed on the server to create dynamic web page.


0

Our Recent Coment