They are disjoint.
web.xml is for the developer who has (almost) no knowledge of the context (environment) in which his application will run.
context.xml (or equivalents) is the tool for the administrator to provide that knowledge to the application.