dgraham 2003/07/02 20:43:38 Modified: src/share/org/apache/struts/action ActionServlet.java Log: Removed support for deprecated "mapping" init. parameter. Revision Changes Path 1.157 +4 -25 jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java Index: ActionServlet.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v retrieving revision 1.156 retrieving revision 1.157 diff -u -r1.156 -r1.157 --- ActionServlet.java 3 Jul 2003 03:36:18 -0000 1.156 +++ ActionServlet.java 3 Jul 2003 03:43:37 -0000 1.157 @@ -224,21 +224,6 @@ * </ul> * <em>DEPRECATED - Configure this using the "className" attribute of * each <forward> element.</em></li> - * <li><strong>mapping</strong> - The Java class name of the ActionMapping - * implementation to use [org.apache.struts.action.ActionMapping]. - * Two convenient classes you may wish to use are: - * <ul> - * <li><em>org.apache.struts.action.RequestActionMapping</em> - Subclass - * of <code>org.apache.struts.action.ActionMapping</code> that - * defaults the <code>scope</code> property to "request". - * <li><em>org.apache.struts.action.SessionActionMapping</em> - Subclass - * of <code>org.apache.struts.action.ActionMapping</code> that - * defaults the <code>scope</code> property to "session". (Same - * as the ActionMapping default value). - * </ul> - * <em>DEPRECATED - Configure this using the "className" attribute of - * each <action> element, or globally for a module by using the - * "type" attribute of the <action-mappings> element.</em></li> * </ul> * * @author Craig R. McClanahan @@ -675,12 +660,6 @@ //@todo & FIXME replace with a FactoryMethod ModuleConfigFactory factoryObject = ModuleConfigFactory.createFactory(); ModuleConfig config = factoryObject.createModuleConfig(prefix); - - // Support for module-wide ActionMapping type override - String mapping = getServletConfig().getInitParameter("mapping"); - if (mapping != null) { - config.setActionMappingClass(mapping); - } // Configure the Digester instance we will use Digester digester = initConfigDigester();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]