To test the login page and the filtering of employees, do the following:
You may be prompted to specify a Default Run Target for the project. For now, set this to login.jsp
. You can later change the project properties for the default run target page to be any page of your choice.
The login page is displayed in your browser, as shown in Figure 4-18.
Figure 4-18 Login Page for Sample Application in the Browser
User ID: HR
Password: hr
Host: localhost
The Employee.java
file is displayed in your browser as shown in Figure 4-19.
Figure 4-19 Unfiltered Employee Data in employee.jsp
ing
in the Filter by Employee Name field, and click Filter. A filtered list is displayed, which is shown in:
Figure 4-20 Filtered Employee Data in employee.jsp