@RequestMapping(value = "/staffcreateaccount", method = RequestMethod.GET) public ModelAndView createAccountFormLoad( @RequestParam(value = "tenantid") String tenantId, @RequestParam(value = "profileid") String profileId) { log.debug("Entering...."); CreateAccountForm createAccountForm = new CreateAccountForm(); createAccountForm.setTenantId(tenantId); createAccountForm.setStaffProfileId(profileId); ModelAndView modelAndView = new ModelAndView("staffcreateaccount"); modelAndView.addObject("accountTypeList", loadAccountTypeMap()); modelAndView.addObject("form", createAccountForm); log.debug("Existing.........."); return modelAndView; }