To build, package, deploy, and run the JavaServer Faces helloWorld example using NetBeans IDE, follow these steps:
In NetBeans IDE, select File->Open Project.
In the Open Project dialog box, navigate to the example directory:
tut-install/examples/web |
Select the helloWorld folder.
Select the Open as Main Project check box.
Click Open Project.
In the Projects tab, right-click the helloWorld project and select Run.
This step compiles, assembles, and deploys the application, then brings up a web browser window displaying the following URL:
http://localhost:8080/helloWorld |
Hello World! |