<html>
<head>
<title>HTTP Headers</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table border="1" cellpadding="4" cellspacing="0">
<tr><th colspan="2" align="left" nowrap="true">HTTP Headers</th></tr>
<%
	java.util.Enumeration headers = request.getHeaderNames();
	while ( headers.hasMoreElements() )
	{
		String headerName = ( String ) headers.nextElement();
		String headerValue = request.getHeader( headerName );
%>
	<tr><td valign="top"><%= headerName %></td><td><%=headerValue%></td></tr>
<%		
	}
%>
</table>
<br/><br/>
<table border="1" cellpadding="4" cellspacing="0">
<tr><th colspan="2" align="left" nowrap="true">Session</th></tr>
<%
	java.util.Enumeration attributes = session.getAttributeNames();
	while ( attributes.hasMoreElements() )
	{
		String attrName = ( String ) attributes.nextElement();
		Object attrValue = session.getAttribute( attrName );
%>
	<tr><td valign="top"><%= attrName %></td><td><%=attrValue%></td></tr>
<%		
	}
%>
</table>
</body>
</html>
