add mapping for web resources.