What is servlet


            When Web began to be used for delivering services, Common Gateway Interface (CGI) server-side scripts were the main technology used to generate dynamic content. 

            Since CGI scripting technology had many shortcomings like platform dependence and lack of scalability.

            To overcome these limitations, Java Servlet technology was created as a portable way to provide dynamic, user-oriented content.

What is Servlet?
            A servlet is a Java programming language used to create request-response programming model. Although servlets can respond to any type of request, they are commonly used to HTTP-specific request.

Servlet Technology uses two main packages to handle HTTP request response
            1. javax.servlet
            2. javax.servlet.http 

            These packages provide interfaces and classes for writing servlet programming to handle GET and POST http request.

You can download the jar from http://mvnrepository.com/artifact/javax.servlet/javax.servlet-api



Related Post

Comments

Chetan
         Plz give full information. Get post session etc all adv.java concepts Nice service

©candidjava.com