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

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


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題

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

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

3.單項(xiàng)選擇題在struts-config.xml配置文件中,使用()元素來指定自定義的一個(gè)RequestProcessor。

A.form-beans
B.action
C.controller
D.set-property

4.單項(xiàng)選擇題Struts中的ActionServlet屬于MVC模式中的()

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