source: nutchez-0.1/tomcat/webapps/examples/servlets/index.html @ 222

Last change on this file since 222 was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

File size: 5.1 KB
RevLine 
[66]1<!--
2 Licensed to the Apache Software Foundation (ASF) under one or more
3  contributor license agreements.  See the NOTICE file distributed with
4  this work for additional information regarding copyright ownership.
5  The ASF licenses this file to You under the Apache License, Version 2.0
6  (the "License"); you may not use this file except in compliance with
7  the License.  You may obtain a copy of the License at
8
9      http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16-->
17<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
18<html>
19<head>
20   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
21   <meta name="GENERATOR" content="Mozilla/4.61 [en] (WinNT; I) [Netscape]">
22   <meta name="Author" content="Anil K. Vijendran">
23   <title>Servlet Examples</title>
24</head>
25<body bgcolor="#FFFFFF">
26<b><font face="Arial, Helvetica, sans-serif"><font size=+2>Servlet
27Examples with Code</font></font></b>
28<p>This is a collection of examples which demonstrate some of the more
29frequently used parts of the Servlet API. Familiarity with the Java(tm)
30Programming Language is assumed.
31<p>These examples will only work when viewed via an http URL. They will
32not work if you are viewing these pages via a "file://..." URL. Please
33refer to the <i>README</i> file provide with this Tomcat release regarding
34how to configure and start the provided web server.
35<p>Wherever you see a form, enter some data and see how the servlet reacts.
36When playing with the Cookie and Session Examples, jump back to the Headers
37Example to see exactly what your browser is sending the server.
38<p>To navigate your way through the examples, the following icons will
39help:
40<br>&nbsp;
41<table BORDER=0 CELLSPACING=5 WIDTH="85%" >
42<tr VALIGN=TOP>
43<td WIDTH="30"><img SRC="images/execute.gif" ></td>
44
45<td>Execute the example</td>
46</tr>
47
48<tr VALIGN=TOP>
49<td WIDTH="30"><img SRC="images/code.gif" height=24 width=24></td>
50
51<td>Look at the source code for the example</td>
52</tr>
53
54<tr VALIGN=TOP>
55<td WIDTH="30"><img SRC="images/return.gif" height=24 width=24></td>
56
57<td>Return to this screen</td>
58</tr>
59</table>
60
61<p>Tip: To see the cookie interactions with your browser, try turning on
62the "notify when setting a cookie" option in your browser preferences.
63This will let you see when a session is created and give some feedback
64when looking at the cookie demo.
65<br>&nbsp;
66<table BORDER=0 CELLSPACING=5 WIDTH="85%" >
67<tr VALIGN=TOP>
68<td>Hello World</td>
69
70<td VALIGN=TOP WIDTH="30%"><a href="servlet/HelloWorldExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/HelloWorldExample">Execute</a></td>
71
72<td WIDTH="30%"><a href="helloworld.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="helloworld.html">Source</a></td>
73</tr>
74
75<tr VALIGN=TOP>
76<td>Request Info</td>
77
78<td WIDTH="30%"><a href="servlet/RequestInfoExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestInfoExample">Execute</a></td>
79
80<td WIDTH="30%"><a href="reqinfo.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="reqinfo.html">Source</a></td>
81</tr>
82
83<tr VALIGN=TOP>
84<td>Request Headers</td>
85
86<td WIDTH="30%"><a href="servlet/RequestHeaderExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestHeaderExample">Execute</a></td>
87
88<td WIDTH="30%"><a href="reqheaders.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="reqheaders.html">Source</a></td>
89</tr>
90
91<tr VALIGN=TOP>
92<td>Request Parameters</td>
93
94<td WIDTH="30%"><a href="servlet/RequestParamExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/RequestParamExample">Execute</a></td>
95
96<td WIDTH="30%"><a href="reqparams.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="reqparams.html">Source</a></td>
97</tr>
98
99<tr VALIGN=TOP>
100<td>Cookies</td>
101
102<td WIDTH="30%"><a href="servlet/CookieExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/CookieExample">Execute</a></td>
103
104<td WIDTH="30%"><a href="cookies.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="cookies.html">Source</a></td>
105</tr>
106
107<tr VALIGN=TOP>
108<td>Sessions</td>
109
110<td WIDTH="30%"><a href="servlet/SessionExample"><img SRC="images/execute.gif" HSPACE=4 BORDER=0  align=TOP></a><a href="servlet/SessionExample">Execute</a></td>
111
112<td WIDTH="30%"><a href="sessions.html"><img SRC="images/code.gif" HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="sessions.html">Source</a></td>
113</tr>
114</table>
115
116<p>Note: The source code for these examples does not contain all of the
117source code that is actually in the example, only the important sections
118of code. Code not important to understand the example has been removed
119for clarity.
120</body>
121</html>
Note: See TracBrowser for help on using the repository browser.