posts - 10, comments - 9, trackbacks - 0, articles - 17

          12 2008 檔案

               摘要: ActionForm繼承了下ForwardConfig,然后就寫了6個構造函數……然后就沒了 =。=!
          有一句話沒翻譯出來,有看得懂的來幫個忙吧 :
          NOTE - This class would have been deprecated and
          replaced by org.apache.struts.config.ForwardConfig except for the fact that
          it is part of the public API that existing applications are using.
          下面是翻譯后的源碼。
          package org.apache.struts.action
            閱讀全文

          posted @ 2008-12-10 15:53 wesley1987 閱讀(551) | 評論 (0)  編輯 |

               摘要: package org.apache.struts.action.ActionForm源代碼(注釋翻譯版)

          *一個ActionForm是可以與一個或多個任意的ActionMapping關聯的JavaBean。這個bean的里屬性
          * 在對應Action.execute方法調用前,由對應的request初始化。
          *
          * 當這個bean的屬性被賦值后,Action.execute方法調用之前,bean的validate方法
          * 將被調用,這個方法用來校驗用戶提交的屬性值。如果發現錯誤,就返回一個包含了這些錯誤內容的
          * error信息。controller將返回至相應的輸入表單。如果無錯誤,validate方法就返回null,
          * 相應的Action.execute方法將被調用。
          *  閱讀全文

          posted @ 2008-12-09 21:48 wesley1987 閱讀(687) | 評論 (0)  編輯 |

          posted @ 2008-12-09 19:22 wesley1987 閱讀(697) | 評論 (0)  編輯 |

          posted @ 2008-12-09 18:31 wesley1987 閱讀(3480) | 評論 (0)  編輯 |

          主站蜘蛛池模板: 大英县| 通州市| 阳新县| 安徽省| 吉水县| 永靖县| 西峡县| 聂荣县| 揭西县| 西昌市| 苏尼特右旗| 长兴县| 栖霞市| 瑞昌市| 潜江市| 洛阳市| 孝感市| 淳安县| 明溪县| 阳曲县| 墨江| 西宁市| 博白县| 衡阳市| 巴彦县| 于田县| 桃园县| 衡东县| 延边| 沙坪坝区| 班戈县| 漳浦县| 金阳县| 海伦市| 信宜市| 旬阳县| 黔西| 根河市| 鹰潭市| 龙川县| 德阳市|