%@ page contentType="text/html; charset=UTF-8" %> <% Integer count = (Integer) session.getAttribute("count"); if (count == null) { count = 1; } else { count++; } session.setAttribute("count", count); String hostname = java.net.InetAddress.getLocalHost().getHostName(); %>