I am trying to display a message when my declared modelAndView object is empty that are loaded using addObject() and returned via a controller
my code somthing like...
ModelAndView modelAndView = new ModelAndView();
modelAndView.addObject("issuedItemList", itemReceiveService
.getIssuedItemList(itemReceive));
i have searched some data from database and put them on this ("issuedItemList") modelAndView object as list. i want when searching statement don't found data there will display a message like "No data found"