code: public static String getFormBeanName( Class formBeanClass, HttpServletRequest request )
      {
          ModuleConfig moduleConfig = RequestUtils.getRequestModuleConfig( request );
          List/*< String >*/ names = getFormNamesFromModuleConfig( formBeanClass.getName(), moduleConfig );
          
          if ( names != null )
          {
              assert names.size() > 0;    // getFormNamesFromModuleConfig returns null or a nonempty list
              return ( String ) names.get( 0 );
          }
          
          return generateFormBeanName( formBeanClass, request );
      }
docs: Get the name for an ActionForm type.  Use a name looked up from the current Struts module, or,
  if none is found, create one.
  
  @param formBeanClass the ActionForm-derived class whose type will determine the name.
  @param request the current HttpServletRequest, which contains a reference to the current Struts module.
  @return the name found in the Struts module, or, if none is found, a name that is either:
  <ul>
  <li>a camel-cased version of the base class name (minus any package or outer-class
  qualifiers, or, if that name is already taken,</li>
  <li>the full class name, with '.' and '$' replaced by '_'.</li>
  </ul>