Like this article? We recommend
Creating a Help Page
In addition to the input and output pages, you will need to create a help page. This page provides the user with navigational links to use the message board. It also displays errors encountered by the controller, as shown in Listing 3.
Listing 3 help.jsp The help page for the message board
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %> <html> <head><title><struts:message key="help.title"/></title> </head> <body> <struts:ifAttributeExists name="error" scope="request"> <hr/> <jsp:useBean id="error" class="String" scope="request"/> <font color="red"><%= error%></font><br/> <hr/> </struts:ifAttributeExists> <a href="create.do"><struts:message key="help.create"/></a> <a href="bboard.do"><struts:message key="help.board"/></a> </body> </html>