In a JSP-centric web application, you need to create a catalog browsing JSP page. The catalog is stored asa List object in the catalog attribute of the webapp’s ServletContext object.  Which scriptlet code snippetgives you access to the catalog object?()

A、<% List catalog = config.getAttribute(catalog); %>

B、<% List catalog = context.getAttribute(catalog); %>

C、<% List catalog = application.getAttribute(catalog); %>

D、<% List catalog = servletContext.getAttribute(catalog); %>

查看答案

相关问题推荐

  • Which is true about the web container request processing model?()

    A、The init method on a filter is called the first time a servlet mapped to that filter is invoked.

    B、A filter defined for a servlet must always forward control to the next resource in the filter chain.

    C、Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.

    D、If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.

    查看答案
  • GPRS核心系统由()组成。

    A、服务GPRS支撑节点

    B、网关GPRS支撑节点

    C、计费网关

    D、边界网关

    E、域名服务器

    查看答案
  • 显示可用硬盘空间的总量和已用的硬盘空间的命令是()

    查看答案
  • 在电子商务中,除了网银、电子信用卡等支付方式以外,第三方支付可以相对降低网络支付的风险。下面不属于第三方支付的优点的是()

    A、比较安全

    B、支付成本较低

    C、使用方便

    D、预防虚假交易

    查看答案
  • 在全色谱电缆中,A线的领示色按顺序是()。

    A、白、黄、黑、红、紫;

    B、红、黑、黄、白、紫;

    C、白、红、黑、黄、紫;

    D、黑、紫、红、黄、白。

    查看答案
  • 2024年全国保密宣传教育月的主题是()。(2024)
    A.贯彻落实保密法。你我都是护密人

    B.国家利益高于一切,保密责任重于泰山

    C.筑牢保密防线,维护国家安全

    D.共筑保密防线,公民人人有责
    查看答案
  • 使用CoreHTML删除和替换节点的方法如下:
    查看答案
  • 防范和应对企业危机的意识有哪些()。

    A.“生于忧患”的危机意识B.“童叟无欺”的诚信意识C.“顾客利益至上”的公众意识D.“无所不及”的沟通意识E.“敢于否定自我”的创新意识
    查看答案
  • 下列哪种疾病可引起呕吐伴右上腹痛、发热、黄疸()

    A.急性胃炎

    B.急性胰腺炎

    C.急性腹膜炎

    D.急性胆囊炎

    E.急性肾盂肾炎
    查看答案
  • Is there a French word that is the exact ____ of the English word “home”?
    A.
    balance
    B.
    match
    C.
    equipment
    D.
    equivalent
    查看答案