<%@ page import="java.util.*" %>
<html>
<head>
<title>Sample Online Application</title>
</head>
<body>
<h1>Sample Form</h1>
<p>
<form action="form.jsp">
<% String param1 = request.getParameter("param1");
   if (param1 == null) param1 = ""; %>
Input some text:
<input type="text" name="param1" size="10"/>
<br>Previous text input: <%=param1%><br>
<input type="submit" value="Send"/>
</form>
</p>
<p><a href="index.jsp">Back</a></p>
</body>
</html>