Difference between Application Server and Web Server
Application server maintains the application logic and serves the web pages in response to user request. That means application server can do both application logic maintanence and web page serving.
Web server just serves the web pages and it cannot enforce any application logic. Final conclusion is: Application server also contains the web server.