In NetBeans IDE, select File->Open Project.
In the Open Project dialog box, navigate to:
tut-install/examples/web |
Select the hello folder.
Select the Open as Main Project check box.
Click Open Project.
In the Projects tab, right-click the hello project and select Run.
This step compiles, assembles, and deploys the application and then brings up a web browser window displaying the following URL:
http://localhost:8080/hello |
The output looks like this:
Hello World! |