Ads

Saturday, 13 June 2015

What is Servlet?

Posted By: Apoorva - 08:57

What is Servlet?

Servlet is used to develop web application (server side java programming).  Before servlets there was a specification called CGI (Common Gateway Interface) as a server-side programming language.
A Servlet is a server side web component managed by web container for the generation of dynamic information.

  • Servlet is an interface that must be implemented for creating any servlet.
  • Web container will take care entire low level activities like identification of required servlet, load the corresponding servlet class, instantiation, invocation of init() and service() method.
  • For servlet Programming, we must import
    • javax.servlet.*;
    • javax.servlet.http.*;

About Apoorva

Hi, I am Hafeez Ullah Khan. A webdesigner, blogspot developer and UI designer. I am a certified Themeforest top contributor and popular at JavaScript engineers. We have a team of geeks and professinal programmers, developers work together and make unique blogger templates.

1 comments:

© 2015 - Designed by: Templatezy & Copy Blogger Themes