多项选择题
对于以下代码,HelloAction希望把请求转发给hello.jsp,在HelloAction的execute方法中如何实现()
A.return(newActionForward(mapping.getInput()))
B.return(mapping.findForward("SayHello"))
C.return(mapping.findForward("hello.jsp"))
D.return(mapping.findForward("/hello.jsp"))
点击查看答案
相关考题
-
多项选择题
下面哪些任务是RequestProcessor完成的()
A.把Struts配置文件信息加载到内存中
B.把资源文件信息读入到内存中
C.如果需要的话,创建ActionForm实例,组装数据,并进行表单验证
D.把请求转发到Action的execute()方法返回的ActionForward代表的组件 -
单项选择题
Struts使用()捕获表单数据。
A.ActionError
B.ActionForm
C.Action
D.ActionMessage -
单项选择题
Struts应用程序的默认配置文件为()
A.struts-config.xml
B.web.xml
C.ejb-jar.xml
D.sun-web.xml
