Test Client-Side Validation
-
Run
ant deploy-web and login to
http://localhost:8080/appfuse-lab.
Edit your profile again and verify that a JavaScript notification
occurs.
-
Extra Credit!
Erik Hatcher has written a slick "strutsgen" tool that generates
skeleton formName.jsp and
formName.properties files. To run it, navigate to
tools/strutsgen and type the following:
ant -Dform.name=UserForm
This will generate two files in tools/strutsgen/build.
Now look at these files and reflect on how much this tool
can increase your productivity!
Slide No: 6