<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>test</title>
</head>
<body>
request method:<%=request.getMethod()%>
<br>
URI:<%=request.getRequestURI()%>
<BR>
PROTOCOL:<%=request.getProtocol()%>
<BR>
SERVLET PATH:<%=request.getServletPath()%>
<br>
path info:<%=request.getPathInfo()%>
<br>
path translated:<%=request.getPathTranslated()%>
<br>
query string:<%=request.getQueryString()%>
<br>
content length:<%=request.getContentLength()%>
<br>
content type:<%=request.getContentType()%>
<br>
server name:<%=request.getServerName()%>
<br>
server port:<%=request.getServerPort()%>
<br>
romote user:<%=request.getRemoteUser()%>
<br>
remote address:<%=request.getRemoteAddr()%>
<br>
remote host:<%=request.getRemoteHost()%>
<br>
authorization scheme:<%=request.getAuthType()%>
<br>
brower you are using:<%=request.getHeader("User-Agent")%>
</body>
</html>