單項(xiàng)選擇題關(guān)于struts1和struts2對(duì)比的說法正確的是()

A.struts1要求Action類繼承struts1框架中的Action父類,struts2中則不一定需要繼承,可以是POJO類
B.struts1中的Action不是線程安全的,而struts2中的Action是線程安全的
C.struts1和struts2中都使用ActionForm對(duì)象封裝用戶的請(qǐng)求數(shù)據(jù)
D.struts1使用OGNL表達(dá)式語言來支持頁面效果,struts2通過ValueStack技術(shù)使標(biāo)簽庫訪問值


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題以下屬于struts2配置文件中的配置元素是()

A.package
B.action
C.form-beans
D.action-mappings

2.多項(xiàng)選擇題以下屬于struts2的體系結(jié)構(gòu)的是()

A.struts2控制器組件
B.struts2配置文件
C.FilterDispathcer
D.Action

3.單項(xiàng)選擇題以下屬于struts2的控制器組件是()

A.Action
B.ActionForm
C.ActionServlet
D.dispatchAction

5.單項(xiàng)選擇題下列選項(xiàng)中不屬于JSP標(biāo)準(zhǔn)動(dòng)作的是()

A.jsp:forward
B.c:out
C.jsp:useBean
D.jsp:setProperty