3種請求響應模式:
參數返回值模式、參數參數模式、pojo模式
XWork的數據流體系是指XWork在進行請求響應時所依賴的一個數據環境而這個數據環境中又包含了兩大元素:ActionContext和ValueStack。
ActionContext是一個獨立的數據結構,其主要作用是爲XWork的執行提供數據環境
ValueStack本身是一個數據結構,其主要作用是對OGNL進行擴展。
控制流的元素主要有五個:ActionProxy、ActionInvocation、Interceptor、Action和Result。
ActionProxy是整個Xwork框架的執行入口。其作用主要在於對外屏蔽整個控制流核心元素的執行過程。
ActionInvocation——核心調度器,是組織起Action、Interceptor、Result等事件處理節點執行次序的核心調度器。
XWork設計原理
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
struts解析
paneyjiang
2020-07-08 09:13:06
Struts 2中的constant含義
IT小man
2020-07-08 07:11:55
IBM面試之旅
eagle11936
2020-07-08 03:13:16
struts2集合spring開發--陳濤
ctojxzsycztao
2020-07-08 02:21:40
[轉]Struts2+Spring 中使用AOP攔截execute方法,出現get方法空指針異常 分享
Struts2+Spring 中使用Spring AOP攔截execute方法,出現get方法NullPointerException 異常,無法獲取
iteye_3912
2020-07-08 01:01:32
struts +ajax驗證,總提示服務器無返回數據
下面是js的驗證 <script type="text/javascript"> $(document).ready(function(){ $.formValidator.initConfig({
ok_pig
2020-07-07 23:01:01
寫長時間。還是休息一會兒
struts form值沒有頁面綁定。早了在半天。也沒有找到。。好鬱悶。。便。休息一會兒。。回來一看。。原來。自己是new 一個form.而不是 c
flyer222
2020-07-07 19:57:25
struts2 spring issue list
sngal3
2020-07-07 14:49:13
struts2_自定義類型轉換失敗的提示信息
kuangxiang_panpan
2020-07-07 11:21:00
淺談struts2之chain[2]
kuangxiang_panpan
2020-07-07 11:20:56
如何快速地部屬Struts2-學習Struts2開篇
bakeloar
2020-07-07 10:47:56
Struts2.X 攔截器使用
bakeloar
2020-07-07 10:47:56
struts2錯誤 : java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
ap0406708
2020-07-07 09:12:32
struts 得工作原理
wenzhixindazhi
2020-07-07 09:11:16