%@ page import="java.util.*" %>
Name | Value <% Enumeration pnames = request.getParameterNames(); while (pnames.hasMoreElements()) { String name = (String) pnames.nextElement(); String values[] = request.getParameterValues(name); if (values != null) { for (int i = 0; i < values.length; i++) { %> |
---|---|
<%=name %>(<%=i %>) | <%=values[i] %> <% } } } %> |
Name | Value <% Enumeration enum = request.getHeaderNames(); while (enum.hasMoreElements()) { String name = (String) enum.nextElement(); String value = request.getHeader(name); %> |
---|---|
<%=name %> | <%=value %> <% } %> |
Name: | <%=cookies[c].getName() %> |
---|---|
Value | <%=cookies[c].getValue() %> |
Domain: | <%=cookies[c].getDomain() %> |
Path: | <%=cookies[c].getPath() %> |
Secure: | <%=cookies[c].getSecure() %> |
Version: | <%=cookies[c].getVersion() %> |
MaxAge: | <%=cookies[c].getMaxAge() %> |
Comment: | <%=cookies[c].getComment() %> |