Generating the Response
response.setContentType("text/html");
PrintWriter out = response.getWriter();
. . . Print HTML headers . . .
out.println("<form method=post action=" +
response.encodeURL("/students/servlet/Update") + ">") ;
out.println("Login ID: " +
"<input type=text size=10 name=login value=\"" +
out.println("Last Name: " +
"<input type=text size=20 name=lastname value=\"" +
. . . etc... Input elements for the other three fields . . .
out.println("<br>Update this record: " +
"<input type=submit value=Update>") ;
. . . Print small alternate form to return to selection page . . .
. . . Print HTML footers . . .