题目内容

The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows: 11. 12. 13. 14. 15. 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.

查看答案
更多问题

渐开线直齿圆柱齿轮的啮合角和压力角各指什么角?他们有什么联系?

新《中国共产党纪律处分条例》适用于违犯党纪应当受到党纪追究的()

A. 党组织
B. 党员
C. 党组织和党员
D. 单位和个人

中国古建筑的屋顶等级从高到低依次为:庑殿顶>悬山顶>歇山顶>硬山顶。

A. 正确
B. 错误

男性,48岁。无痛性肉眼血尿3个月。尿细胞学检查发现癌细胞。由此可以除外()。

A. 肾盏癌
B. 输尿管癌
C. 膀胱癌
D. 肾盂癌
E. 前列腺癌

答案查题题库