-
處理結果類型查看全部
-
接受參數的三種方式查看全部
-
接受參數的三種方式查看全部
-
動態方法調用方式查看全部
-
action的搜索順序查看全部
-
action的搜索順序查看全部
-
Struts2的工作原理及文件結構查看全部
-
Struts2的后綴, 設置url中action后綴:struts.xml中配置 <constant name="strust.action.extension" value="html"></constant> 還可以在struts.properties和web.xml中進行配置。查看全部
-
動態方法調用中的通配符方式(推薦)查看全部
-
Action的搜索順序: http://localhost:8080/struts2/path1/path2/path3/student.action 第一步:判斷package是否存在,如:path1/path2/path3 (1)存在 第二步:判斷action是否存在,如果不存在則去默認的namespace的 package里面尋找action 第三步:如果沒有,則報錯 (2)路徑包不存在 第二步:檢查上一級路徑的package是否存在(直到默認namespace,重復第一步)查看全部
-
Struts2 處理流程查看全部
-
addFieldError()在校驗方法validate()中自動返回INPUT,其他方法則要手動的顯示寫出return INPUT;查看全部
-
實現一個action里配置多個方法: 1: 通過在struts.xml文件里面配置method屬性查看全部
-
struts.action.extension用于設置action后綴,有三種設置方式: 1.struts.xml 2.struts.properties 3.web.xml查看全部
-
struts.xml常量查看全部
舉報
0/150
提交
取消