Struts config xml 詳細說明

2021-04-13 00:21:49 字數 971 閱讀 7994

// 頁面中表單對應的bean儲存表單資料, 驗證

type= "hello.helloform"    

// formbean 對應的包名.類名

/>

// **路徑的邏輯名, 此項必須有

path= "/action1.do" 

// 指向**或重定向的uri. 此項是必需的, 必須以"/"開頭.

/>

// 請求訪問action的路徑, 必須以"/"開頭

type= "hello.helloaction"  

// action的完整類名

name= "helloform"        

// 要傳給action 的actionform bean

scope= "request"               

// actionform bean 的存放範圍

validate= "true"                    

// 是否執行表單驗證

input= "/hello.jsp"            

// 當表單驗證失敗時**的路徑, 必須以"/"開頭

>

// 鍵值用於標識此forward

path= "/hello.jsp"      

// 指定使用的訊息資源檔案

Struts config xml 詳細說明

頁面中表單對應的bean儲存表單資料,驗證 type hello.helloform formbean 對應的包名.類名 name forward1 路徑的邏輯名,此項必須有 path action1.do 指向 或重定向的uri.此項是必需的,必須以 開頭.name forward2 path a...

Linux free m 詳細說明

linux記憶體中buffer與cache的區別 free 命令相對於top 提供了更簡潔的檢視系統記憶體使用情況 free total used free shared buffers cached mem 255268 238332 16936 0 85540 126384 buffers ca...

UILabel 詳細說明

uilabel屬性及應用 uilabel label1 uilabel alloc initwithframe cgrectmake 20,40,280,80 建立label label1.backgroundcolor uicolor graycolor label1.tag 91 設定tag l...