<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title> Greeting and Color Form </title>
</head>
<body>
<!-- Tutorial: Using the Eclipse Web Tools Platform with Apache Tomcat
Copyright (c) 2008 by Russell Bateman and Etretat Logiciels, LLC.
Permission is granted for any non-commercial, derivational use. You are
forbidden only to repost the files of the tutorial and project without
express permission of the author.
This is the form that starts the whole thing off in the second tutorial
example. -->
<h1 class="heading"> Get Greeting and Color </h1>
<form action="GreetingAndColorServlet"
method="post"
enctype="application/x-www-form-urlencoded">
<table>
<tr><td class="query-prompt"> Greeting: </td>
<td>
<input type="text"
name="greeting"
size="60"
value="Hello world!" />
</td>
</tr>
<tr><td><p class="query-prompt"> Favorite Color:</p></td>
<td>
<input type="radio" name="color" value="0" /> red
<input type="radio" name="color" value="1" /> green
<input type="radio" name="color" value="2" /> blue
<input type="radio" name="color" value="3" /> yellow
</td>
</tr>
<tr><td colspan="3" align="center">
<p class="query-buttons">
<input type="submit" value="submit" />
</p>
</td>
</tr>
</table>
</form>
</body>
</html>