@ RequestMapping ( value = "/profiles" , method = RequestMethod . GET ) public String list ( Model model ) { Profile profiles = new Profile ( ) ; model . addAttribute ( "addNewProfile" , profiles ) ; model . addAttribute ( "version" , Constants . VERSION ) ; logger . info ( "Loading initial page" ) ; return "profiles" ; }
This is the profiles page . this is the regular page when the url is typed in