Guest User

Untitled

a guest
Nov 22nd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. @RequestMapping(value = "/view/{id}" , method = RequestMethod.GET)
  2. public ModelAndView viewStudentById(@PathVariable("id") int id) {
  3. ModelAndView model = new ModelAndView("viewStudent");
  4. model.addObject("studentdata",this.studentService.findStudentById(id));
  5. return model;
  6. }
Add Comment
Please, Sign In to add comment