A static web server is one that always serves static content: any files (including html, js, and css) that are available at the time the client requests them.
CGI, AJAX, ASP, ASP.NET, and other languages are used to create dynamic web pages.
A dynamic web server is composed of a static web server as well as additional applications.