<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.*"%>
<%
	String realIP = request.getHeader("x-forwarded-for");
	String ip = request.getRemoteAddr();
	Enumeration enum = request.getHeaderNames();
	while(enum.hasMoreElements())
	{
		String name = (String)enum.nextElement();
		String value = request.getHeader(name);
		out.write(name + "=" + value + "<br>");
	}
%>
ÄãµÄIPµØÖ·ÊÇ£º<%=realIP%>