@RequestMapping(value = "/staffcreatenewuser", method = RequestMethod.GET) public ModelAndView loadCreateUser( @RequestParam(value = "tenantid") String tenantId, @RequestParam(value = "profileid") String profileId) { UserForm userForm = new UserForm(); userForm.setTenantId(tenantId); userForm.setStaffProfileId(profileId); ModelAndView modelAndView = new ModelAndView("staffcreatenewuser"); modelAndView.addObject("roleType", loadRoleMap()); modelAndView.addObject("form", userForm); return modelAndView; }