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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]