Exemple #1
0
 public String getUserListByRole() throws NullPointerException, NumberFormatException {
   List<User> list = new ArrayList<User>();
   if (null != role) list = userService.getByRole(role.getId());
   getSession().put("userList", list);
   return SUCCESS;
 }