[Home]DebugJSP

HomePage | RecentChanges | Preferences

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
 
 <p><br>DEBUG INFO<br><br></p>

    request.getRemoteAddr() = <%= request.getRemoteAddr() %>
 
      <br><br><br>
      Request Parameters:
      <table border=1 width=80%>
      <tr><th>Parameter Name</th><th>Parameter Value</th></tr>
      <c:forEach var="item" items="${param}">
        <tr>
          <td><c:out value="${item.key}"/></td>
          <td><c:out value="${item.value}"/></td>
        </tr>
      </c:forEach>
      </table>


      <br><br><br>
      Request Attributes:
      <table border=1 width=80%>
      <tr><th>Attribute Name</th><th>Attribute Value</th></tr>
      <c:forEach var="item" items="${requestScope}">
        <tr>
          <td><c:out value="${item.key}"/></td>
          <td><c:out value="${item.value}"/></td>
        </tr>
      </c:forEach>
      </table>


      <br><br><br>
      Request Headers:
      <table border=1 width=80%>
       <c:forEach var='hdr' items='${header}'>
             <tr>
               <td><c:out value='${hdr.key}'/></td>
               <td><c:out value="${hdr.value}"/></td>
             </tr>
       </c:forEach>
       </table>

      

      <br><br><br>
      Cookies:
      <table border=1 width=80%>
      <tr><th>Cookie Name</th><th>Cookie Value</th></tr>
      <c:forEach var="item" items="${cookie}">
        <tr>
          <td><c:out value="${item.key}"/></td>
          <td><c:out value="${item.value.value}"/></td>
        </tr>
      </c:forEach>
      </table>
      
      <br><br><br>
      Session Attributes:
      <table border=1 width=80%>
      <tr><th>Attribute Name</th><th>Attribute Value</th></tr>
      <c:forEach var="item" items="${sessionScope}">
        <tr>
          <td><c:out value="${item.key}"/></td>
          <td><c:out value="${item.value}"/></td>
        </tr>
      </c:forEach>
      </table>
      
      
      <br><br><br>
      Application Attributes:
      <table border=1 width=80%>
      <tr><th>Attribute Name</th><th>Attribute Value</th></tr>
      <c:forEach var="item" items="${applicationScope}">
        <tr>
          <td><c:out value="${item.key}"/></td>
          <td><c:out value="${item.value}"/></td>
        </tr>
      </c:forEach>
      </table>

HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited January 23, 2005 6:53 pm by ip68-2-84-26.ph.ph.cox.net (diff)
Search: