String function ( @ ModelAttribute ( "srini_string" ) Project arg0 , ModelMap arg1 ) { try { projectService . addProject ( arg0 ) ; arg1 . addAttribute ( "srini_string" , "srini_string" ) ; } catch ( DatabaseException loc0 ) { arg1 . addAttribute ( "srini_string" , ( loc0 . getMessage ( ) ) . toString ( ) ) ; } finally { return "srini_string" ; } }
adding new project get project object as parameter passes to its service and send a acknowledgement to user through modelmap attribute the will be success or failure concode_field_sep ProjectService projectService concode_field_sep String projectEdit concode_elem_sep String editProject concode_elem_sep ModelAndView deleteProject concode_elem_sep ModelAndView retriveProjects concode_elem_sep ModelAndView deallocateEmployeeFromProject concode_elem_sep String projectAdd concode_elem_sep String viewEmployeesOnProject concode_elem_sep ModelAndView allocateEmployeeOnProject