xref: /unit/pkg/rpm/rpmbuild/SOURCES/unit.example-jsc-app (revision 980:e1c4434c1060)
1*980Sdefan@nginx.com<%@ page contentType="text/plain"%><%@ page import="java.util.*" %>This is plain text response for "<%= request.getMethod() %> <%= request.getRequestURI() %>".
2*980Sdefan@nginx.comHere is the list of all system properties:
3*980Sdefan@nginx.com<%
4*980Sdefan@nginx.com    Properties p = System.getProperties();
5*980Sdefan@nginx.com    Enumeration keys = p.keys();
6*980Sdefan@nginx.com    while (keys.hasMoreElements()) {
7*980Sdefan@nginx.com        String key = (String) keys.nextElement();
8*980Sdefan@nginx.com        String value = (String) p.get(key);
9*980Sdefan@nginx.com        out.println("  " + key + " : " + value);
10*980Sdefan@nginx.com    }
11*980Sdefan@nginx.com%>
12*980Sdefan@nginx.com<% response.addHeader("X-Unit-JSP", "ok"); %>
13