How to perform search operation on same controller in spring
i m new to spring f开发者_如何学JAVAramework. I want to perform search operation on user details. on page load i was able to display list of users. now i want to perform some search operation on displayed user list. so on search button how can i perform search operation? on search button it calls controller which perform some search operation then it return list of users.
you can post checkedvalues array like name='mycheckbox[]' , and get them on controller, you already have list of users in controller , so find records from that list against received checked values. no need to pass list of users from jsp to controller.
精彩评论