Sun Java System Portal Server Mobile Access 7.1 Developer's Guide

Adding a Contact

To add a contact to the address book, users select the “Add contact” option, which uses the <util:link> tag to transfer control from the list.jsp file to the add.jsp file. The add.jsp file uses the <util:include> tag to link to GUI code in the edit.jsp file, which presents users with a series of individual prompts describing the new contact.

The prompts include: “First name”, “Last name”, Phone, and Email. Control passes from the add.jsp file to the doAdd.jsp file (which submits the contact to the address book). The <util:forward> tag automatically returns control to the list.jsp file.