I use a modelattribute in my form and controller.
<form:form action="/admin/editingBook" modelAttribute="editingBook">
...
...
</form:form>
Controller
@RequestMapping(method = RequestMethod.POST, value = "/admin/editingBook")
public String updateBook(@ModelAttribute BookBean bookBean) {
}
I would like to add an information who are not in my modelAttribute, something like
@RequestMapping(method = RequestMethod.POST, value = "/admin/editingBook")
public String updateBook(@ModelAttribute BookBean bookBean, @RequestParam("bookName") String bookName) {
}
not sure how to do it on the jsp side and controller side