I have a basic question in spring framework.
I have 4 buttons on a jsp page: add, save, delete, update. Each of those 4 buttons when clicked should invoke methods in controller. So i guess i need only one controller with 4 methods right?
add () , save () , delete () and update() , will that be correct?
how do i map the buttons to the methods? i.e when user click on the add button, add() should be invoked in controller.
(In struts we used dispatch action class, not sure how we do in spring)
Any sample code in implimenting this scenario would greatly help.