單項選擇題下面那些方法屬于ActionForm()

A.doPost()
B.init()
C.validate()
D.reset()


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題下面關(guān)于使用動態(tài)Form的描述中正確的是()

A.使用動態(tài)Form首先要定義一個同名的Form.Bean,不需要添加任何屬性
B.在配置動態(tài)Form時type屬性指定為自己定義的Form.Bean的類名
C.通過myForm.getUserName從動態(tài)Form中獲得userName的值
D.動態(tài)Form中的屬性名要同頁面表單域的name屬性一致才能在表單提交時自動填充

2.單項選擇題下面關(guān)于DispatchAction的說法正確的是()

A.實現(xiàn)DispatchAction.Bean需要實現(xiàn)org.apache.struts.actions.DispatchAction接口
B.DispatchAction.Bean中不需要定義execute方法
C.配置DispatchAction.Bean與配置普通Action.Bean沒有區(qū)別
D.可通過http://localhost:8080/app/da.do直接訪問DispatchAction