ClicktheExhibitbutton.Aservletsetsasession-scopedattributeproductwithaninstanceofcom.example.ProductandforwardstoaJSP.Whichtwooutputthenameoftheproductintheresponse?() A.${product.name}B.jsp:getPropertyname=productproperty=name/C.jsp:useBeanid=com.example.Product/%=product.getName()%D.jsp:getPropertyname=productclass=com.example.Productproperty=name/

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"/>


相关考题: