Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RequestMapping(value = "/view/{id}" , method = RequestMethod.GET)
- public ModelAndView viewStudentById(@PathVariable("id") int id) {
- ModelAndView model = new ModelAndView("viewStudent");
- model.addObject("studentdata",this.studentService.findStudentById(id));
- return model;
- }
Add Comment
Please, Sign In to add comment