diff --git a/pom.xml b/pom.xml index 2187c73..a9adc5c 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ https://github.com/kwart/secured-webapp-template - counter + nodename diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 680bc59..cf6c728 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,10 +1,2 @@ -<%@ page language="java" pageEncoding="UTF-8" contentType="text/plain;charset=utf-8" -%><% - Integer requestCount = (Integer)session.getAttribute("requestCount"); - if (requestCount == null) { - requestCount = 0; - } - session.setAttribute("requestCount", ++requestCount); - -%>Host=<%= System.getProperty("jboss.node.name") %> -Request count=<%= requestCount %> +<%@ page language="java" pageEncoding="UTF-8" contentType="text/plain;charset=utf-8" session="false" +%>Node=<%= System.getProperty("jboss.node.name") %>