1. Configure spring mvc.