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 2004/10/16 02:31:57 UTC

svn commit: rev 54886 - struts/trunk/struts-faces/example2-webapp/src/web/WEB-INF

Author: craigmcc
Date: Fri Oct 15 17:31:56 2004
New Revision: 54886

Modified:
   struts/trunk/struts-faces/example2-webapp/src/web/WEB-INF/struts-config.xml
Log:
Correct logical forwards to point at the tiles definitions, instead of the
JSP page that represents the body content.  Among other things, this fixes
the bug where entering an incorrect username/password combination on the
logon page causes an exception.  Thanks to Chris Wewerka for the clue that
led to this realization.

PR:  Bugzilla #31015
Submitted by:  Piero Colagrosso <pcolagrosso AT yahoo.com>


Modified: struts/trunk/struts-faces/example2-webapp/src/web/WEB-INF/struts-config.xml
==============================================================================
--- struts/trunk/struts-faces/example2-webapp/src/web/WEB-INF/struts-config.xml	(original)
+++ struts/trunk/struts-faces/example2-webapp/src/web/WEB-INF/struts-config.xml	Fri Oct 15 17:31:56 2004
@@ -85,8 +85,8 @@
 
   <!-- ========== Global Forward Definitions ============================== -->
   <global-forwards>
-    <forward   name="logoff"               path="/logoff.do"/>
-    <forward   name="logon"                path="/logon.faces"/>
+    <forward   name="logoff"               path=".welcome"/>
+    <forward   name="logon"                path=".logon"/>
     <forward   name="registration"         path=".registration"/>
     <forward   name="subscription"         path=".subscription"/>
     <forward   name="success"              path=".mainMenu"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org