Index

Deploy and Test

  1. Run ant deploy to generate validation.xml. You can view the generated file at build/appfuse-lab/WEB-INF. It should be near the bottom of the file and starts with:
    <form name="userForm">
  2. Login to http://localhost:8080/appfuse-lab, click on "Edit Profile" and then the "Save" button. You should get an error this time stating that 'Password' and 'Confirm Password' are required fields.

Pretty slick huh? Now let's add some client-side validation.

Slide No: 4