故名思夜
formbean用来接收网页传过来的数据
action用来执行动作的,处理form的数据,执行相关的操作呵呵,这是很简单的解释你可以看看书

解决方案 »

  1.   

    但我在一些文章中看到“ActionForm用封装页面数据”这句话,于是就跟FormBean的功能相混淆了!
      

  2.   

    ActionForm用封装页面数据??
    不懂,是封装输出到网页的数据吧
      

  3.   

    http://www.yesky.com/20020820/1626192.shtml
    http://developer.ccidnet.com/pub/disp/Article?columnID=294&articleID=28327&pageNO=1
      

  4.   

    不好意思。我开始没仔细看
    struts里面没有FormBean,只有ActionFormBean,ActionForm,Action 类
    你问的是什么
      

  5.   

    非常感谢!不过我还有一些地方不明白,尤其是在struts的代码中。。
    如;
        /**
         * The context attributes key under which our
         * <code>org.apache.struts.action.ActionFormBeans</code> collection
         * is normally stored, unless overridden when initializing our
         * ActionServlet.
         */
        public static final String FORM_BEANS_KEY =
            "org.apache.struts.action.FORM_BEANS";
    //这样定义FORM_BEANS_KEY是什么意思?org.apache.struts.action.FORM_BEANS又是什么?我在org.apache.struts.action中找不到有关FORM_BEANS的定义啊!?还有,context attributes key (在注释中)是什么意思?
      

  6.   

    “动态的formbean”又是什么意思?