有什么办法可以看到struts-config.xml中所有属性以及作用?

解决方案 »

  1.   

    http://struts.apache.org/dtds/struts-config_1_2.dtd查看它的DTD文件
      

  2.   

    <!-- The "action" element describes an ActionMapping object that is to be used
         to process a request for a specific module-relative URI. The following
         attributes are defined:     attribute       Name of the request-scope or session-scope attribute that
                         is used to access our ActionForm bean, if it is other than
                         the bean's specified "name". Optional if "name" is specified,
                         else not valid
    ------------------------------------
    摘自http://struts.apache.org/dtds/struts-config_1_2.dtd
      

  3.   

    好像attribute这个属性和指向javabean属性的作用是一样的