O'Reilly logo

Head First Servlets and JSP, 2nd Edition by Bert Bates, Bryan Basham, Kathy Sierra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Coffee Crem: Mock Exam Chapter 11

  1. Where can <init-param> elements appear in the DD? (Choose all that apply.)

    A.

    As child elements of <servlet>.

    B.

    As direct descendants of <web-application> elements.

    C.

    Just after the Document Type Declaration.

    D.

    Inside of <context-param> elements when you want to declare a context initialization parameter.

  2. Where do you store Tag Library Descriptors (TLDs), in a web application? (Choose all that apply.)

    A.

    Only in /WEB-INF/lib.

    B.

    Only in /WEB-INF/classes.

    C.

    In the /META-INF directory of a JAR file inside /WEB-INF/lib

    D.

    At the application’s top-level directory.

    E.

    In /WEB-INF or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required