Added some default error handling to ServletDispatcher.