單項選擇題在Struts應(yīng)用程序中,創(chuàng)建了定義報錯信息的資源文件后,應(yīng)在()文件中添加對這個資源文件的引用。

A.web.xml
B.ApplicationResources.properties
C.struts-config.xml
D.ApplicationResources_zh_CN_properties


您可能感興趣的試卷

你可能感興趣的試題

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

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

5.多項選擇題

對于以下代碼,HelloAction希望把請求轉(zhuǎn)發(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”))