开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜