Follow the steps in To Set Up Your System for Running the Security Examples.
In a terminal window, go to:
tut-install/examples/security/hello2_formauth/
Type the following command at the terminal window or command prompt:
ant |
This target will spawn any necessary compilations, copy files to the tut-install/examples/security/hello2_formauth/build/ directory, create the WAR file, and copy it to the tut-install/examples/security/hello2_formauth/dist/ directory.
To deploy hello2_formauth.war to the GlassFish Server, type the following command:
ant deploy |