欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCDCD(310-081)

多项选择题

Which two are true? ()

    A. Tag files can only be accessed using a tagdir attribute.
    B. The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
    C. The sort.jsp page produces a translation error because a taglib directive must always have a uri attribute.
    D. Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB-INF/tags.
    E. The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is created and added to the web application.

点击查看答案

相关考题

  • 多项选择题
    Whichthe twoaretrueabouttheJSTLcoreiterationcustomtags?()

    A. It may iterate over arrays, collections, maps and strings.
    B. The body of the tag may contain EL code, but not scripting code.
    C. When looping over collections, a loop status object may be used in the tag body.
    D. It may iterate over a map, but only the key of the mapping may be used in the tag body.
    E. When looping over integers (for example begin1=’1’ end=’10’), a loop status object may not be used in the tag body.

  • 多项选择题
    Whichtwoaretrue?()

    A. The prefix ‘java’ is reserved.
    B. The URI ‘myTags’ must be properly mapped to a TLD file by the web container.
    C. A translation error occurs because the prefix is considered identical by the web container.
    D. For the tag usage , the tag1 must be unique in the union of tag names in ‘myTags’  and ‘moreTags

  • 单项选择题
    To implement the design intent, which statement must be inserted at line 42?()

    A. session = response.getSession();
    B. session = request.getSession();
    C. session = request.getSession(true);
    D. session = request.getSession(false);
    E. session = request.getSession(“jsessionid”);

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题