first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package org.apache.struts.config;
|
||||
|
||||
import org.apache.commons.digester.Rule;
|
||||
import org.xml.sax.Attributes;
|
||||
|
||||
final class SetActionMappingClassRule extends Rule {
|
||||
public void begin(Attributes attributes) throws Exception {
|
||||
String className = attributes.getValue("type");
|
||||
if (className != null) {
|
||||
ModuleConfig mc = (ModuleConfig)this.digester.peek();
|
||||
mc.setActionMappingClass(className);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user