试题详情
- 多项选择题 Click the Exhibit button.
Given the JSP code: 1.<% 2.pageContext.setAttribute( "product", 3.new com.example.Product( "Pizza", 0.99 ) ); 4.%> 5.<%-- insert code here --%> Which two, inserted at line 5, output the name of the product in the response?()
A、
<%= product.getName()%>B、<jsp:useBean id="product" class="com.example.Product" /> <%= product.getName()%>
C、<jsp:useBean id="com.example.Product" scope="page"> <%= product.getName()%></jspuseBean>
D、<jsp:useBean id="product" type="com.example.Product" scope="page" /><%= product.getName()%>
- B,D
关注下方微信公众号,在线模考后查看
热门试题
- You want
- Given: 6.<% in
- 数组元素所占用的内存位于()
- public class&e
- 现有两个源文件: pack
- 根窗格提供了什么函数功能?()
- 以下关于BorderLayout类功能的
- public class&e
- Which three
- 计算s=2!+4!+8!+11!。(首先
- 11.public void genNu
- 一个数如果恰好等于它的因子之和,这个数就
- An object̳
- Assume theQ
- Which two
- 11. static&ens
- 下面关于ICMP协议的描述中,正确的是(
- 什么是继承?什么是父类?什么是子类?继承
- 已知: 下面哪些代码在横线处是合法的(
- 已知: 的输出是为?()