单项选择题在Action类中定义的属性使用修饰符(),属性和属性对应的getter和setter方法使用修饰符public。

A.private
B.Public
C.protected
D.default


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题在Struts2的标签中用来设定条件的属性是()

A.witch
B.test
C.if
D.value

2.单项选择题结点中,用于定义拦截器栈的结点是()

A.Interceptor
B.interceptor-stack
C.interceptor-stacks
D.interceptor-refs

3.单项选择题在Struts2的Action类(BookAction)中存在bookList处理请求的方法,使用动态方法调用BookAction类中bookList方法,正确的是()

A.bookAction.bookList
B.bookAction*bookList
C.bookAction+bookList
D.bookAction!bookList

7.单项选择题根据()配置,浏览器发出HTTP请求被Filter Dispatcher接收。

A.Web.xml
B.JSP.xml
C.struts.xml
D.filter.xml

8.单项选择题Struts 2框架由3个部分组成()、业务控制器和用户实现的业务逻辑组件。

A.核心控制器Filter Dispatcher
B.模型类
C.拦截器
D.JSP

9.单项选择题()文件主要负责管理应用中的Action映射,以及该Action包含的Result定义等。

A.Web.xml
B.Struts Prepare And Execute Filter
C.struts.xml
D.struts2.xml