<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %> Service Status <%-- check if the cached page is available: if not redirects--%> <%@ page import="java.io.*,java.net.*" %> <% URL url = new URL(request.getRequestURL().toString().replaceAll("/service_status.jsp", "") + "/cached_service_status.html"); HttpURLConnection http = (HttpURLConnection)url.openConnection(); int statusCode = http.getResponseCode(); if (statusCode != 200) { String redirectURL = "ServiceStatus"; response.sendRedirect(redirectURL);} %> <%-- load cached Service Status --%>

The results shown below have been cached from a request made (up to an hour) before... Get fresh Service Status