husted 2004/01/01 05:47:40 Modified: web/exercise-taglib/WEB-INF struts-config.xml Log: Add bean:write test #7 - localized numbers. Revision Changes Path 1.8 +19 -0 jakarta-struts/web/exercise-taglib/WEB-INF/struts-config.xml Index: struts-config.xml =================================================================== RCS file: /home/cvs/jakarta-struts/web/exercise-taglib/WEB-INF/struts-config.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- struts-config.xml 21 Jul 2002 19:57:26 -0000 1.7 +++ struts-config.xml 1 Jan 2004 13:47:40 -0000 1.8 @@ -7,8 +7,18 @@ <struts-config> <form-beans> + <form-bean name="testbean" type="org.apache.struts.webapp.exercise.TestBean"/> + + <!-- Locale form bean --> + <form-bean name="localeForm" + type="org.apache.struts.action.DynaActionForm"> + <form-property name="language" type="java.lang.String"/> + <form-property name="country" type="java.lang.String"/> + <form-property name="page" type="java.lang.String"/> + </form-bean> + </form-beans> <global-forwards> @@ -52,6 +62,15 @@ validate="false"> <forward name="input" path="/html-setters.jsp"/> </action> + + <!-- Locale Action --> + <action path="/locale" + type="org.apache.struts.actions.LocaleAction" + name="localeForm" + scope="request"> + <forward name="success" path="/index.jsp"/> + </action> + </action-mappings> <message-resources
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]