Chinaunix首页 | 论坛 | 博客
  • 博客访问: 29955265
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: Java

2010-10-30 14:24:30

%
out.println("Protocol: " + request.getProtocol() + "
"
);
out.println("Scheme: " + request.getScheme() + "
"
);
out.println("Server Name: " + request.getServerName() + "
"
);
out.println("Server Port: " + request.getServerPort() + "
"
);
out.println("Protocol: " + request.getProtocol() + "
"
);
out.println("Server Info: " + getServletConfig().getServletContext().getServerInfo() + "
"
);
out.println("Remote Addr: " + request.getRemoteAddr() + "
"
);
out.println("Remote Host: " + request.getRemoteHost() + "
"
);
out.println("Character Encoding: " + request.getCharacterEncoding() + "
"
);
out.println("Content Length: " + request.getContentLength() + "
"
);
out.println("Content Type: "+ request.getContentType() + "
"
);
out.println("Auth Type: " + request.getAuthType() + "
"
);
out.println("HTTP Method: " + request.getMethod() + "
"
);
out.println("Path Info: " + request.getPathInfo() + "
"
);
out.println("Path Trans: " + request.getPathTranslated() + "
"
);
out.println("Query String: " + request.getQueryString() + "
"
);
out.println("Remote User: " + request.getRemoteUser() + "
"
);
out.println("Session Id: " + request.getRequestedSessionId() + "
"
);
out.println("Request URL: " + request.getRequestURL() + "
"
);
out.println("Request URI: " + request.getRequestURI() + "
"
);
out.println("Servlet Path: " + request.getServletPath() + "
"
);
out.println("Created : " + session.getCreationTime() + "
"
);
out.println("LastAccessed : " + session.getLastAccessedTime() + "
"
);
out.println("Accept: " + request.getHeader("Accept") + "
"
);
out.println("Host: " + request.getHeader("Host") + "
"
);
out.println("Referer : " + request.getHeader("Referer") + "
"
);
out.println("Accept-Language : " + request.getHeader("Accept-Language") + "
"
);
out.println("Accept-Encoding : " + request.getHeader("Accept-Encoding") + "
"
);
out.println("User-Agent : " + request.getHeader("User-Agent") + "
"
);
out.println("Connection : " + request.getHeader("Connection") + "
"
);
out.println("Cookie : " + request.getHeader("Cookie") + "
"
);
%>


阅读(970) | 评论(0) | 转发(0) |
0

上一篇:install.sh

下一篇:Java分割图片[完整版]

给主人留下些什么吧!~~