To view the details for a specific contact, users select the desired name from the list of contacts presented from the list.jsp file. If the selected option points to a single contact, control passes from the list.jsp file to the view.jsp file. If the selected option is for an entire group, control passes to the viewGroup.jsp file.
After selecting a single contact, users have three options: Compose (an email to the named contact), Change (the contact details), or Delete (the selected contact). Depending on which option users select, control passes from the current page to the compose.jsp file, change.jsp file, or the delete.jsp file.
This option is for composing an email message; for more information see The Mobile Mail Application.
The Change option allows users to change the first name, last name, phone number, and email address of the selected contact. The JSP page responsible for generating this page (the change.jsp file) uses the <util:include> tag to include the GUI from the edit.jsp file. Existing properties appear with their current values, which users can change or accept.
Control flow passes from the change.jsp file, which collects the information, to the doChange.jsp file, which submits the changes and returns users to the address book home.
To delete a contact from the address book, users simply select the Delete option. Control passes from the current page (The view.jsp file) to the delete page (The delete.jsp file) and then back to the address book home.