当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

ClicktheExhibitbutton.GiventheJSPcode:1.<%2.pageContext.setAttribute("product&quot


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()%>

参考答案
您可能感兴趣的试题
    暂无相关推荐