source: nutchez-0.1/tomcat/webapps/examples/jsp/snp/snoop.jsp @ 168

Last change on this file since 168 was 66, checked in by waue, 15 years ago

NutchEz - an easy way to nutch

File size: 2.0 KB
Line 
1<html>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4  contributor license agreements.  See the NOTICE file distributed with
5  this work for additional information regarding copyright ownership.
6  The ASF licenses this file to You under the Apache License, Version 2.0
7  (the "License"); you may not use this file except in compliance with
8  the License.  You may obtain a copy of the License at
9
10      http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17-->
18
19<body bgcolor="white">
20<h1> Request Information </h1>
21<font size="4">
22JSP Request Method: <%= util.HTMLFilter.filter(request.getMethod()) %>
23<br>
24Request URI: <%= util.HTMLFilter.filter(request.getRequestURI()) %>
25<br>
26Request Protocol: <%= util.HTMLFilter.filter(request.getProtocol()) %>
27<br>
28Servlet path: <%= util.HTMLFilter.filter(request.getServletPath()) %>
29<br>
30Path info: <%= util.HTMLFilter.filter(request.getPathInfo()) %>
31<br>
32Query string: <%= util.HTMLFilter.filter(request.getQueryString()) %>
33<br>
34Content length: <%= request.getContentLength() %>
35<br>
36Content type: <%= util.HTMLFilter.filter(request.getContentType()) %>
37<br>
38Server name: <%= util.HTMLFilter.filter(request.getServerName()) %>
39<br>
40Server port: <%= request.getServerPort() %>
41<br>
42Remote user: <%= util.HTMLFilter.filter(request.getRemoteUser()) %>
43<br>
44Remote address: <%= util.HTMLFilter.filter(request.getRemoteAddr()) %>
45<br>
46Remote host: <%= util.HTMLFilter.filter(request.getRemoteHost()) %>
47<br>
48Authorization scheme: <%= util.HTMLFilter.filter(request.getAuthType()) %> 
49<br>
50Locale: <%= request.getLocale() %>
51<hr>
52The browser you are using is
53<%= util.HTMLFilter.filter(request.getHeader("User-Agent")) %>
54<hr>
55</font>
56</body>
57</html>
Note: See TracBrowser for help on using the repository browser.