You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@apache.org on 2001/04/08 05:54:53 UTC
cvs commit: jakarta-struts/web/example/WEB-INF struts-config.xml
craigmcc 01/04/07 20:54:53
Modified: web/example mainMenu.jsp
web/example/WEB-INF struts-config.xml
Log:
Use the <html:link forward="xxx"> tag in the example application to
demonstrate that it works correctly.
Revision Changes Path
1.12 +1 -1 jakarta-struts/web/example/mainMenu.jsp
Index: mainMenu.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/mainMenu.jsp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- mainMenu.jsp 2001/01/07 00:16:28 1.11
+++ mainMenu.jsp 2001/04/08 03:54:53 1.12
@@ -16,7 +16,7 @@
<jsp:getProperty name="user" property="username"/></h3>
<ul>
<li><html:link page="/editRegistration.do?action=Edit"><bean:message key="mainMenu.registration"/></html:link></li>
-<li><html:link page="/logoff.do"><bean:message key="mainMenu.logoff"/></html:link></li>
+<li><html:link forward="logoff"><bean:message key="mainMenu.logoff"/></html:link></li>
</ul>
</body>
1.9 +1 -0 jakarta-struts/web/example/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/struts-config.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- struts-config.xml 2001/03/13 22:31:54 1.8
+++ struts-config.xml 2001/04/08 03:54:53 1.9
@@ -55,6 +55,7 @@
<!-- ========== Global Forward Definitions ============================== -->
<global-forwards>
+ <forward name="logoff" path="/logoff.do"/>
<forward name="logon" path="/logon.jsp"/>
<forward name="success" path="/mainMenu.jsp"/>
</global-forwards>