Struts 整理

Struts配置文件節點說明: 通過源代碼瞭解struts運行路徑: 1:解析請求路徑得到path Path=request.getServletPath(); 2:根據path得到一個ActionMapping 封裝一個action節點的所有信息,包括子節點信息,如:forwoard 3:得到formBean a.在scope指向的範圍內尋找,名字以attribute爲準: ActionForm
相關文章
相關標籤/搜索