單項選擇題在struts的配置文件中,action節(jié)點的哪一個屬性用來action指定引用的actionForm()

A.name
B.attribute
C.scope
D.path


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題Action中的execute方法執(zhí)行完畢后,需要跳轉到show.jsp這個頁面,下列寫法中那些從形式上是正確的()

A.return"show.jsp"
B.return"show"
C.returnmapping.findForward("show")
D.returnmapping.findForward("show.jsp")

2.多項選擇題

對于以下代碼,HelloAction希望把請求轉發(fā)給hello.jsp,在HelloAction的execute方法中如何實現(xiàn)()

A.return(newActionForward(mapping.getInput()))
B.return(mapping.findForward(”SayHello”))
C.return(mapping.findForward(“hello.jsp”))
D.return(mapping.findForward(“/hello.jsp”))

5.單項選擇題Struts中的ActionServlet屬于MVC模式中的()

A.視圖
B.模型
C.控制器
D.業(yè)務層