Java Reference
In-Depth Information
Display 19.18
An HTML Form Document
Invokes the JSP program
named EditURL.jsp . If this
program does not exist, you
will see an error message
upon clicking the Submit
button. EditURL.jsp is
given in the next subsection.
<html>
<head>
<title>Change Author's URL</title>
</head>
<body>
<h1>Change Author's URL</h1>
<p>
Enter the ID of the author you would like to change
along with the new URL.
</p>
<form ACTION = "EditURL.jsp" METHOD = POST>
Creates a textbox
named AuthorID that
is empty, displays four
characters at once,
and accepts at most,
four characters.
Author ID:
<input TYPE = "TEXT" NAME = "AuthorID"
VALUE = "" SIZE = "4" MAXLENGTH = "4">
<br/>
New URL:
<input TYPE = "TEXT" NAME = "URL"
VALUE = "http://" SIZE = "40" MAXLENGTH = "200">
Creates a textbox named URL that
by default contains "http://" ,
displays 40 characters at once,
and accepts at most 200
characters.
<p>
INPUT TYPE="SUBMIT" VALUE="Submit">
</p>
</form>
Creates a Submit button.
</body>
</html>
Display 19.19
Browser View of Display 19.18
 
 
Search WWH ::




Custom Search