试题详情
单项选择题 You need to create a JavaBean object that is used only within the current JSP page. It must NOT beaccessible to any other page including those that this page might import. Which JSP standard action canaccomplish this goal?()

A、<jsp:useBean id=’pageBean’ type=’com.example.MyBean’ />

B、<jsp:useBean id=’pageBean’ class=’com.example.MyBean’ />

C、<jsp:makeBean id=’pageBean’ type=’com.example.MyBean’ />

D、<jsp:makeBean id=’pageBean’ class=’com.example.MyBean’ />

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题