%@ page import="org.apache.commons.lang3.StringUtils" %> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; Boolean bAll = Boolean.FALSE; String strAll = (String)request.getParameter("all"); if (StringUtils.isNotBlank(strAll)){ bAll = strAll.equalsIgnoreCase("1"); System.out.println(bAll); } Boolean bSS = Boolean.FALSE; bSS = Boolean.parseBoolean(request.getParameter("ss")); //bAll 为true时加载所有的报警记录 %>