In a web browser, type the following URL:
http://localhost:8080/simplegreeting |
The Simple Greeting page opens.
Type a name in the text field.
For example, suppose that you type Duke.
Click the Say Hello button.
If you did not modify the Printer.java file, the following text string appears below the button:
Hi, Duke! |
If you commented out the @Informal annotation in the Printer.java file, the following text string appears below the button:
Hello, Duke. |
Figure 19–1 shows what the application looks like if you did not modify the Printer.java file.