Java Reference
In-Depth Information
Figure 4-14.
Login page of the bookstore application
When the user submits a valid name and password combination, the user will be logged in, and the
user's name is displayed as illustrated in Figure
4-15
.
Figure 4-15.
Login successful
If the user enters an incorrect username or password, an error message will be displayed to the user,
as illustrated in Figure
4-16
.