ClicktheExhibitbutton.Aservletsetsasession-scopedattributeproductwithaninstanceofcom.example.ProductandforwardstoaJSP.Whichtwooutputthenameoftheproductintheresponse?()A.${product.name}B.<jsp:getPropertyname="product"property="name"/>C.<jsp:useBeanid="com.

题目
ClicktheExhibitbutton.Aservletsetsasession-scopedattributeproductwithaninstanceofcom.example.ProductandforwardstoaJSP.Whichtwooutputthenameoftheproductintheresponse?()

A.${product.name}

B.<jsp:getPropertyname="product"property="name"/>

C.<jsp:useBeanid="com.example.Product"/><%=product.getName()%>

D.<jsp:getPropertyname="product"class="com.example.Product"property="name"/>


相似考题