|
@ -124,7 +124,7 @@ public class BookController { |
|
|
method = RequestMethod.GET |
|
|
method = RequestMethod.GET |
|
|
) |
|
|
) |
|
|
public String webFormDeleteBook( |
|
|
public String webFormDeleteBook( |
|
|
@PathVariable("id") long bookId, |
|
|
|
|
|
|
|
|
@PathVariable("id") Long bookId, |
|
|
HttpServletRequest requestData |
|
|
HttpServletRequest requestData |
|
|
) { |
|
|
) { |
|
|
|
|
|
|
|
@ -146,7 +146,7 @@ public class BookController { |
|
|
method = { RequestMethod.GET } |
|
|
method = { RequestMethod.GET } |
|
|
) |
|
|
) |
|
|
public String webFormEditBook( |
|
|
public String webFormEditBook( |
|
|
@PathVariable("id") long bookId, |
|
|
|
|
|
|
|
|
@PathVariable("id") Long bookId, |
|
|
Model dataModel, |
|
|
Model dataModel, |
|
|
HttpServletRequest requestData |
|
|
HttpServletRequest requestData |
|
|
) { |
|
|
) { |
|
@ -177,7 +177,7 @@ public class BookController { |
|
|
public String webFormUpdateBook( |
|
|
public String webFormUpdateBook( |
|
|
@Valid @ModelAttribute("book") Book book, |
|
|
@Valid @ModelAttribute("book") Book book, |
|
|
BindingResult bindingResult, |
|
|
BindingResult bindingResult, |
|
|
@PathVariable("id") long bookId, |
|
|
|
|
|
|
|
|
@PathVariable("id") Long bookId, |
|
|
HttpServletRequest requestData |
|
|
HttpServletRequest requestData |
|
|
) { |
|
|
) { |
|
|
|
|
|
|
|
|