<%@ page import="test.NameHandler" %>
<jsp:useBean id="mybean" scope="page" class="test.NameHandler" />
<jsp:setProperty name="mybean" property="*" />

<html>
<head><title>Hello, User</title></head>
<body bgcolor="#ffffff" background="images/background.gif">

<%@ include file="dukebanner.html" %>

<table width="700">

<tr>
<td width="150">   </td>
<td width="550">
<h1>My name is Duke. What's yours?</h1>
</td>
</tr>

<tr>
<td width="150"   </td>
<td width="550">
<form method="get">
<input type="text" name="username" size="25">
<br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
</td>
</tr>

</table>

<% String username = null;
if ( request.getParameter("username") != null ) {
%>
<%@ include file="response.jsp" %>

<%
}
%>

</body>
</html>