code: public static boolean validateAction(String actionName, ActionMapping mapping) {
  		boolean res = true;
  		int result = actionTransfer(actionName); // 如果没有使用规定名称
  		if (result == 0)
  			res = false;
  
  		if (mapping.findForward(actionName) == null) // 如果配置文件没有该名称
  			res = false;
  
  		return res;
  
  	}
docs: 根据struts-config.xml配置立即创建ActionForm
  
  @param actionMapping
  ActionMapping
  @param actionForm
  ActionForm
  @param request
  HttpServletRequest
  @param moduleConfig
  ModuleConfig
  @return ModelForm
  @throws Exception
  private static ModelForm createModelFormNow(ActionMapping
  actionMapping, ActionForm actionForm, HttpServletRequest
  request) throws Exception {
  
  
  Debug.logVerbose(
  "[JdonFramework] not found a existed ModelForm, create it now"
  , module); ModuleConfig moduleConfig =
  moduleUtils.getModuleConfig(request,
  request.getSession().getServletContext()); ModelForm form =
  null; String formName = null; String formClass = null; try {
  formName = getFormName(actionMapping); FormBeanConfig
  formConfig = moduleConfig.findFormBeanConfig(formName); if
  (formConfig == null) { throw new
  Exception(" not found config for " + formName); } formClass =
  formConfig.getType();
  
  ClassLoader classLoader =
  Thread.currentThread().getContextClassLoader(); form =
  (ModelForm) classLoader.loadClass(formClass).newInstance();
  
  String action = request.getParameter("action"); if (action ==
  null) action = request.getParameter("method");
  form.setAction(action);
  
  request.setAttribute(formName, form); } catch (Exception ex)
  { Debug.logError("[JdonFramework] formName:" + formName +
  "formClass create error :" + formClass + ex, module); }
  return form; }