当前位置:SCWCD(310-083)题库

问题:

[单选]

The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows:
11.<sl:shoppingList>
12.<sl:item name="Bread" />
13.<sl:item name="Milk" />
14.<sl:item name="Eggs" />
15.</sl:shoppingList>
The tag handler for sl:shoppingList is ShoppingListTag and the tag handler for sl:item is ItemSimpleTag.ShoppingListTag extends BodyTagSupport and ItemSimpleTag extends SimpleTagSupport.Which is true?()

A . ItemSimpleTag can find the enclosing instance of ShoppingListTag by calling getParent() and castingthe result to ShoppingListTag.
B . ShoppingListTag can find the child instances of ItemSimpleTag by calling super.getChildren() andcasting each to an ItemSimpleTag.
C . It is impossible for ItemSimpleTag and ShoppingListTag to find each other in a tag hierarchy becauseone is a Simple tag and the other is a Classic tag.
D . ShoppingListTag can find the child instances of ItemSimpleTag by calling getChildren() on thePageContext and casting each to an ItemSimpleTag.
E . ItemSimpleTag can find the enclosing instance of ShoppingListTag by calling findAncestorWithClass()on the PageContext and casting the result to ShoppingListTag.

企业对内的行为识别包括干部教育、员工招聘、员工培训、产品开发等。 发电机中性点采用何种接地方式?有何作用? 哲学的基本问题是()。 物质和意识的关系问题。 人和世界的问题。 人和自然的问题。 时间和空间的问题。 新《中国共产党纪律处分条例》适用于违犯党纪应当受到党纪追究的() 党组织。 党员。 党组织和党员。 单位和个人。 我国人民行使国家权力的机关是()。 全国人民代表大会和地方各级人民代表大会。 全国人民代表大会和全国大常委会。 全国人民代表大会和国家主席。 全国人民代表大会和国务院。

The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows:
11.<sl:shoppingList>
12.<sl:item name="Bread" />
13.<sl:item name="Milk" />
14.<sl:item name="Eggs" />
15.</sl:shoppingList>
The tag handler for sl:shoppingList is ShoppingListTag and the tag handler for sl:item is ItemSimpleTag.ShoppingListTag extends BodyTagSupport and ItemSimpleTag extends SimpleTagSupport.Which is true?()

参考答案:

  参考解析

本题暂无解析

在线 客服