网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
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"/>


参考答案

更多 “ 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/ ” 相关考题