diff options
-rw-r--r-- | id.oa/html/index.jsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/id.oa/html/index.jsp b/id.oa/html/index.jsp index 9e75d5e08..35e49d743 100644 --- a/id.oa/html/index.jsp +++ b/id.oa/html/index.jsp @@ -10,8 +10,8 @@ <table border="1">
<%
/* collect parameters from request */
- for (Enumeration enum = request.getHeaderNames(); enum.hasMoreElements(); ) {
- String key = (String) enum.nextElement();
+ for (Enumeration headers = request.getHeaderNames(); headers.hasMoreElements(); ) {
+ String key = (String) headers.nextElement();
String value = request.getHeader(key); %>
<tr><td><%=key%></td><td><%=value%></td></tr>
<% } %>
@@ -26,8 +26,8 @@ <table border="1">
<%
/* collect parameters from request */
- for (Enumeration enum = request.getParameterNames(); enum.hasMoreElements(); ) {
- String name = (String) enum.nextElement();
+ for (Enumeration params = request.getParameterNames(); params.hasMoreElements(); ) {
+ String name = (String) params.nextElement();
String value = request.getParameter(name); %>
<tr><td><%=name%></td><td><%=value%></td></tr>
<% } %>
|