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?()
您最近创建了一个名为ShoppingList 的自定义集合类为当地的超市 。此自定义的类将包含 ShoppinItem 对象具有下面列出的公共属性。* Name* AisleNumber* OnDiscount你要使您的类来循环访问 ShoppingList 集合中,并列出每个产品的Name和AisleNumber,使用 foreach 语句。要实现这一目标的声明相应的代码。您应该使用哪个代码?()