网友您好, 请在下方输入框内输入要搜索的题目:
ClicktheExhibitbutton.GiventheJSPcode:1.<%2.pageContext.setAttribute("product",3.newcom.example.Product("Pizza",0.99));4.%>5.<%--insertcodehere--%>Whichtwo,insertedatline5,outputthenameoftheproductintheresponse?()
A.<%=product.getName()%>
B.<jsp:useBeanid="product"class="com.example.Product"/><%=product.getName()%>
C.<jsp:useBeanid="com.example.Product"scope="page"><%=product.getName()%></jspuseBean>
D.<jsp:useBeanid="product"type="com.example.Product"scope="page"/><%=product.getName()%>
参考答案