Create the user interface for the Phone Book application. The design for the two pages for this application is displayed in Fig. 30.22. You will develop this application over this and the next two tutorials, so you do not yet have the names and num- bers from the database. To help you to better understand what you are setting out to do, Figure 30.23 shows a test-drive-like full final screen output.
a) Copying the template to your working directory. Copy the C:Examples Tutorial30ExercisesPhoneBook directory to the C:SimplyJava directory.
b) Opening the phoneBook.jsp template file. Open the phoneBook.jsp file in your text editor.
c) Setting the title of phoneBook.jsp. Add a title element to set the JSP’s title to
“Phone Book.”
d) Adding an h1 header element to phoneBook.jsp. Add an h1 header element that displays “Phone Book Web Application.”
e) Adding a form to phoneBook.jsp. Add an HTML form element.
f) Adding a paragraph to phoneBook.jsp. Within the form element, add a paragraph that displays the instructions “Select a name from the list and click the Get Number button.”
g) Adding a menu control to phoneBook.jsp. Within the form element, add a se
```
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Phone Book Web Application
15
16
17
30
31
32
```
```
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Phone Number:
15
16
numbers
17
18
19
20
21
22
```
You might also like to view...
A(n) _______ is a collection of table definitions that give the name of the table, list of the attributes and their data types, and identifies the primary key.
Fill in the blank(s) with the appropriate word(s).
A company has several conference rooms with wired network jacks that are used by both employees and guests. Employees need access to internal resources and guests only need access to the Internet. Which of the following combinations is BEST to meet the requirements?
A. NAT and DMZ B. VPN and IPSec C. Switches and a firewall D. 802.1x and VLANs
In a for statement, which argument or arguments are required?
A. condition B. initialization and update C. initialization D. initialization and condition
What is another name for a repetition structure?
A. loop structure B. sequence structure C. decision structure D. algorithmic structure