Implemented the Internal View Resolver.
Added @RequestMapping before index method.