Now that the web module is deployed, you can view it by opening the application in a web browser. By default, the application is deployed to host localhost on port 8080. The context root of the web application is hello1.
To test the application, follow these steps:
Open a web browser.
Enter the following URL in the web address box:
http://localhost:8080/hello1 |
Enter your name, and click Submit.
The application should display the name you submitted as shown in Figure 3–3 and Figure 3–4.