In NetBeans IDE, select File->Open Project.
In the Open Project dialog, navigate to:
tut-install/examples/persistence/ |
Select the address-book folder.
Select the Open as Main Project and Open Required Projects check boxes.
Click Open Project.
In the Projects tab, right-click the address-book project and select Run.
After the application has been deployed, a web browser window appears at the following URL:
http://localhost:8080/address-book/ |
Click Show All Contact Items, then Create New Contact. Type values in the form fields; then click Save.
If any of the values entered violate the constraints in Contact, an error message will appear in red beside the form field with the incorrect values.