Packages: added unit-jsc (Java Servlet Container) family.
This commit is contained in:
12
pkg/rpm/rpmbuild/SOURCES/unit.example-jsc-app
Normal file
12
pkg/rpm/rpmbuild/SOURCES/unit.example-jsc-app
Normal file
@@ -0,0 +1,12 @@
|
||||
<%@ page contentType="text/plain"%><%@ page import="java.util.*" %>This is plain text response for "<%= request.getMethod() %> <%= request.getRequestURI() %>".
|
||||
Here is the list of all system properties:
|
||||
<%
|
||||
Properties p = System.getProperties();
|
||||
Enumeration keys = p.keys();
|
||||
while (keys.hasMoreElements()) {
|
||||
String key = (String) keys.nextElement();
|
||||
String value = (String) p.get(key);
|
||||
out.println(" " + key + " : " + value);
|
||||
}
|
||||
%>
|
||||
<% response.addHeader("X-Unit-JSP", "ok"); %>
|
||||
Reference in New Issue
Block a user