ArrayList<User> list = new ArrayList<User>();
for(int i=0;i<users.length;i++){
list.add(users[i]);
}
UserPaginatedList paginatedList = new UserPaginatedList(list,listFullSize,LocalizedAction.PAGE_SIZE,pageNumber,sortCriterion,sortOrderDisplayTag);
req.setAttribute("users", paginatedList);
logProcessingTime("ListUsers; total number of fetched userobjects = "+users.length);
return mapping.findForward("list");