diff --git a/webapp/src/main/webapp/WEB-INF/pages/form.jsp b/webapp/src/main/webapp/WEB-INF/pages/form.jsp index 17a82a09..1cb418e3 100644 --- a/webapp/src/main/webapp/WEB-INF/pages/form.jsp +++ b/webapp/src/main/webapp/WEB-INF/pages/form.jsp @@ -21,15 +21,9 @@ <%-- DEBUG contrast-finder.conf --%> -
- env ${env}
- defaultAlgorithm ${defaultAlgorithm}
- cookie.algo ${cookie.algo.value}
- algo ${algo}
-
+ <%@include file='/WEB-INF/template/env_debug-info.jspf' %>
- <%-- ===== FORM ========================================================================================= --%>
diff --git a/webapp/src/main/webapp/WEB-INF/template/env_debug-info.jspf b/webapp/src/main/webapp/WEB-INF/template/env_debug-info.jspf new file mode 100644 index 00000000..2d5bc6e9 --- /dev/null +++ b/webapp/src/main/webapp/WEB-INF/template/env_debug-info.jspf @@ -0,0 +1,21 @@ +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ page pageEncoding="UTF-8" %> + +<%= System.getProperty("java.version") %> +<%= application.getServerInfo() %> +<%= application.getMajorVersion() %>.<%= application.getMinorVersion() %> +<%=JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %> +
+

+ env ${env}
+ defaultAlgorithm ${defaultAlgorithm}
+ cookie.algo ${cookie.algo.value}
+ algo ${algo} +

+

+ Java ${debugJavaVersion}
+ Tomcat : ${debugTomcatVersion}
+ Servlet specification : ${debugServletVersion}
+ JSP : ${debugJspVersion}
+

+