Running the Application
Compile the new source files and Restart the tomcat server to make the new changes take affect.
Figure 1 shows the output when the same user (I) replies to the earlier message. Figure 2 shows the output when the user adds the message to the message board. Figure 3 shows the output when the user attempts to view a message with a nonexistent message ID.
Displaying the input form with default data
Output page displaying the replied message
Error page displayed when a nonexistent message is requested for viewing
In the next article, we will create a view that displays the hierarchy of messages in the bulletin board.