A web server simply hosts and serves up static content, images, stylesheets, javascript, html etc.
These are then processed on the client (the browser).
An application server executes code in response to a user request, such as servlets, jsp page generation etc.
App servers also allow serious business logic processing in an enterprise environment.