工学

单选题Struts的ActionServlet需要在那个配置文件中进行配置()A struts-config.xmlB config.xmlC web.xmlD struts.xml

题目
单选题
Struts的ActionServlet需要在那个配置文件中进行配置()
A

struts-config.xml

B

config.xml

C

web.xml

D

struts.xml

参考答案和解析
正确答案: D
解析: 暂无解析
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Struts人配置文件是什么?


正确答案:

     

 

第2题:

在struts的配置文件中,一般来说action节点的()属性是可以不写的。

  • A、path
  • B、type
  • C、name
  • D、input

正确答案:B,C,D

第3题:

Struts应用程序的默认配置文件为()

A.Struts-config.xml

B.web.xml

C.Ejb-jar.xml

D.Sun-web.xml


参考答案:A

第4题:

下面信息不在Struts配置文件中配置的是()

  • A、Form Bean配置信息
  • B、Spring声明式事务
  • C、Action转发路径
  • D、Struts引用的资源文件

正确答案:B

第5题:

控制器需要在()配置文件中进行配置。

  • A、web.xml
  • B、struts.xml
  • C、struts2.xml
  • D、webwork.xml

正确答案:A

第6题:

下面信息不在Struts配置文件中配置的是()。

A、FormBean配置信息

B、Spring声明式事务

C、Action转发路径

D、Struts引用的


答案:B

第7题:

在struts配置文件中,()元素可用于配置struts的validator框架。

  • A、plug-in
  • B、embeded
  • C、form-beans
  • D、set-property

正确答案:A

第8题:

Struts默认配置文件为()

A.Struts-config.xml

B.Web.xml

C.Ejb-jar.xml

D.Sun-web.xml


参考答案:A

第9题:

Struts默认配置文件为()

  • A、 Struts-config.xml
  • B、 Web.xml
  • C、 Ejb-jar.xml
  • D、 Sun-web.xml

正确答案:A

第10题:

在Struts2框架的配置文件中,以下不属于Action的属性的是()

  • A、name
  • B、class
  • C、method
  • D、result

正确答案:D