struts1是这样做的:
ServletContext context = this.getServlet().getServletContext();
ModuleConfig moduleConfig = (ModuleConfig) context
.getAttribute("org.apache.struts.action.MODULE");
ActionConfig[] actionConfigs = moduleConfig.findActionConfigs();
struts1是这样做的: