A Web Server is a Computer or Combination of computers, which is connected through internet or intranet to serve the clients quests, coming from their web browser. It is a large repository of web pages which transfer to the client in response to their request. The client request to the server through protocol such as FTP, HTTP, SMTP etc for their own specific use. Every web server has a unique IP address and domain name which identifies that machine on the network. A server contains the server software installed on it, which manages the client request and response them.
There are many types of web server, Enterprise uses according to their need. Some of the popular category of web servers are -
Apache Tomcat is popular web server being used today for the implementation of some java technologies. It is a open source software used for implementing web applications.
In the next example of servlet we will use the Apache Tomcat as a web server.