日期:2010-2-2
計畫解決:
·輸入項簡單校驗
累計解決:
·struts2的hello world;
·struts2的action使用註解;
·struts2與spring的整合,需要struts2-spring-plugin這個依賴jar包;
·國際化輸出;
·配置檔案位置改動:struts的配置xml檔案、spring的配置xml檔案、struts的message檔案;
·使用註解定義而非xml檔案,定義action,定義bean
·ognl表示式語法
尚未解決:
日期:2010-2-1
計畫解決:
累計解決:
·struts2的hello world;
·struts2的action使用註解;
·struts2與spring的整合,需要struts2-spring-plugin這個依賴jar包;
·國際化輸出;
·配置檔案位置改動:struts的配置xml檔案、spring的配置xml檔案、struts的message檔案;
·使用註解定義而非xml檔案,定義action,定義bean
·ognl表示式語法
尚未解決:
日期:2010-1-29
計畫解決:
·表示式語法
累計解決:
·struts2的hello world;
·struts2的action使用註解;
·struts2與spring的整合,需要struts2-spring-plugin這個依賴jar包;
·國際化輸出;
·配置檔案位置改動:struts的配置xml檔案、spring的配置xml檔案、struts的message檔案;
·使用註解定義而非xml檔案,定義action,定義bean
尚未解決:
Struts2自學小結
mvc設計模式的自定義 要求所有的請求都傳送給控制器,控制器根據請求的url找到相應的action進行處理,action執行業務操作並獲取資料,最後將結果放回給檢視。struts2框架結構 filterdispatcher 1 2 3 action rrsult jsp struts.propert...
Struts2自學入門(三)
注 黃色字型為網路引用內容 一 include標籤 include標籤通常用於struts的模組化配置,可以使struts2配置更加清晰明了,不雜亂。首先需要在struts.xml配置乙個入口 其中 cheliang.xml 等表示各個模組的struts.xml cheliang.xml裡面的配置和...
struts2自學筆記之二
action獲取從瀏覽器中傳過來的值 在action 中護額去引數很簡單,只需要在 action 中定義和從瀏覽器中傳過來的屬性名字一樣即可,設定 getter 和setter 方法。比如在意 jsp中的 from 表單定義乙個名為 name 的輸入框。在helloworldaction 中定義乙個...