public String showAllDevice() {
   CheckResultDao dao = new CheckResultDao();
   List<CheckResult> list = dao.getAllResult();
   request.setAttribute("list", list);
   StrategyIpDao ipDao = new StrategyIpDao();
   List deviceList = ipDao.findByCondition(" where AVAILABILITY=0");
   request.setAttribute("deviceList", deviceList);
   return "/config/vpntelnet/compliance/showAllDevice.jsp";
 }
  public String viewDetail() {
    String id = getParaValue("id");
    String ip = getParaValue("ip");

    CheckResultDao dao = new CheckResultDao();
    List list = dao.getReslutByIdAndIp(id, ip);
    request.setAttribute("list", list);
    request.setAttribute("id", id);
    return "/config/vpntelnet/compliance/viewDetail.jsp";
  }
  public String showDetailStrategy() {
    String id = getParaValue("id");
    CheckResultDao dao = new CheckResultDao();
    List<CheckResult> list = dao.getResultById(id);
    request.setAttribute("list", list);
    request.setAttribute("id", id);
    StrategyIpDao ipDao = new StrategyIpDao();
    List ipList = ipDao.findByCondition(" where STRATEGY_ID=" + id);

    request.setAttribute("ipList", ipList);
    return "/config/vpntelnet/compliance/detailStrategyList.jsp";
  }