单项选择题
在使用Struts错误处理机制时,将报错信息定义在属性文件后,还需要在struts-config.xml文件中使用()标签定义对该属性文件的引用。
A.message-resource
B.action
C.forward
D.form-bean
点击查看答案
相关考题
-
多项选择题
在struts的配置文件中,一般来说action节点的()属性是可以不写的。
A.path
B.type
C.name
D.input -
单项选择题
在struts的配置文件中,action节点的哪一个属性用来action指定引用的actionForm()
A.name
B.attribute
C.scope
D.path -
单项选择题
Action中的execute方法执行完毕后,需要跳转到show.jsp这个页面,下列写法中那些从形式上是正确的()
A.return"show.jsp"
B.return"show"
C.returnmapping.findForward("show")
D.returnmapping.findForward("show.jsp")
