多选题In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()A/WEB-INFB/META-INFC/WEB-INF/tldsD/META-INF/tldsE/WEB-INF/resourcesF/META-INF/resources

题目
多选题
In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()
A

/WEB-INF

B

/META-INF

C

/WEB-INF/tlds

D

/META-INF/tlds

E

/WEB-INF/resources

F

/META-INF/resources


相似考题
更多“多选题In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()A/WEB-INFB/META-INFC/WEB-INF/tldsD/META-INF/tldsE/WEB-INF/resourcesF/META-INF/resources”相关问题
  • 第1题:

    In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()

    • A、/WEB-INF
    • B、/META-INF
    • C、/WEB-INF/tlds
    • D、/META-INF/tlds
    • E、/WEB-INF/resources
    • F、/META-INF/resources

    正确答案:A,C,E

  • 第2题:

    A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1.<%@ taglib prefix="x" 2.tagdir="/WEB-INF/tags/alpha" %> 3. The sort.jsp page is requested. 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 uriattribute.
    • 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 createdand added to the web application.

    正确答案:B,E

  • 第3题:

    Given a portion of a valid Java EE web application’s directory structure:MyApp | |--Directory1 ||--File1.html| |--META-INF|  |--File2.html| |--WEB-INF |--File3.html You want to know whether File1.html, File2.html,and/or File3.html is protected from direct access by yourweb client’s browsers. What statement is true?()

    • A、All three files are directly accessible.
    • B、Only File1.html is directly accessible.
    • C、Only File2.html is directly accessible.
    • D、Only File3.html is directly accessible.

    正确答案:B

  • 第4题:

    You want to create a valid directory structure for your Java EE web application, and your application usestag files and a JAR file. Which three must be located directly in your WEB-INF directory(NOT in asubdirectory of WEB-INF)?()

    • A、The JAR file
    • B、A directory called lib
    • C、A directory called tags
    • D、A directory called TLDs
    • E、A directory called classes
    • F、A directory called META-INF

    正确答案:B,C,E

  • 第5题:

    In which two web application directories can dependent classes and libraries be located? ()

    • A、 /WEB-INF/lib as a JAR file
    • B、 /META-INF/lib as a JAR file
    • C、 /classes as compiled class files
    • D、 /WEB-INF/lib as compiled class files
    • E、 /WEB-INF/classes as compiled class files
    • F、 /META-INF/classes as compiled class files

    正确答案:A,E

  • 第6题:

    In which two locations can library dependencies be defined for a web application? ()

    • A、 the web application deployment descriptor
    • B、 the /META-INF/dependencies.xml file
    • C、 the /META-INF/MANIFEST.MF manifest file
    • D、 the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath

    正确答案:C,D

  • 第7题:

    A web application is bound to the context named "/webapp" and the client uses the browser and  makes a request to the resource http://server:port/webapp/ctxl/resource.    Where do you place this resource inside the web application structure?()

    • A、in the subdirectory /WEB-INF/ctxl
    • B、in the subdirectory /META-INF/ctxl
    • C、in the subdirectory /ctxl in the root of the archive
    • D、in the subdirectory /ctxl/resource in the root of the archive
    • E、in the root of the archive

    正确答案:C

  • 第8题:

    多选题
    Which the two about WAR files are true?()
    A

    WAR files must be located in the web application library directory.

    B

    WAR files must contain the web application deployment descriptor.

    C

    WAR files must be created by using archive tools to designed specifically for that purpose.

    D

    The web container must serve the content of any META-INF directory located in a WAR file.

    E

    The web container must allow access to resources in JARs in the web application library directory


    正确答案: D,C
    解析: 暂无解析

  • 第9题:

    多选题
    In which two locations can library dependencies be defined for a web application? ()
    A

    the web application deployment descriptor

    B

    the /META-INF/dependencies.xml file

    C

    the /META-INF/MANIFEST.MF manifest file

    D

    the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath


    正确答案: A,C
    解析: 暂无解析

  • 第10题:

    多选题
    In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()
    A

    /WEB-INF

    B

    /META-INF

    C

    /WEB-INF/tlds

    D

    /META-INF/tlds

    E

    WEB-INF/resources

    F

    /META-INF/resources


    正确答案: E,C
    解析: 暂无解析

  • 第11题:

    单选题
    A web application is bound to the context named "/webapp" and the client uses the browser and  makes a request to the resource http://server:port/webapp/ctxl/resource.    Where do you place this resource inside the web application structure?()
    A

    in the subdirectory /WEB-INF/ctxl

    B

    in the subdirectory /META-INF/ctxl

    C

    in the subdirectory /ctxl in the root of the archive

    D

    in the subdirectory /ctxl/resource in the root of the archive

    E

    in the root of the archive


    正确答案: C
    解析: 暂无解析

  • 第12题:

    多选题
    Which two actions protect a resource file from direct HTTP access within a web application?()
    A

    Placing it in the /secure directory

    B

    Placing it in the /WEB-INF directory

    C

    Placing it in the /META-INF/secure directory

    D

    Creating a  element within the deployment descriptor


    正确答案: C,B
    解析: 暂无解析

  • 第13题:

    You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()

    • A、The TLD must be located within the WEB-INF directory of the JAR file.
    • B、The TLD must be located within the META-INF directory of the JAR file.
    • C、The TLD must be located within the META-INF/tld/ directory of the JAR file.
    • D、The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
    • E、The TLD must be located within a subdirectory of META-INF directory of the JAR file.

    正确答案:B,E

  • 第14题:

    Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

    • A、 /conf/web.xml
    • B、 /WEB-INF/web.xml
    • C、 /conf/server.xml
    • D、 /META-INF/web.xml
    • E、 /WEB-INF/rules.xml
    • F、 /META-INF/server. Xml

    正确答案:B

  • 第15题:

    After a merger with another small business, your company has inherited a legacy WAR file but the originalsource files were lost. After reading the documentation of that web application,you discover that the WARfile contains a useful tag library that you want to reuse in your own webapp packaged as a WAR file. What do you need to do to reuse this tag library?()

    • A、Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.
    • B、Unpack the legacy WAR file, move the TLD file to the META-INF directory, repackage the whole thingas a JAR file, and place that JAR file in your webapp’s library directory.
    • C、Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the whole thing as a JAR file, and place that JAR file in your webapp’slibrary directory.
    • D、Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.

    正确答案:C

  • 第16题:

    In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()

    • A、 /WEB-INF
    • B、 /META-INF
    • C、 /WEB-INF/tlds
    • D、 /META-INF/tlds
    • E、 WEB-INF/resources
    • F、 /META-INF/resources

    正确答案:A,C,E

  • 第17题:

    Which the two about WAR files are true?()

    • A、 WAR files must be located in the web application library directory.
    • B、 WAR files must contain the web application deployment descriptor.
    • C、 WAR files must be created by using archive tools to designed specifically for that purpose. 
    • D、 The web container must serve the content of any META-INF directory located in a WAR file.
    • E、 The web container must allow access to resources in JARs in the web application library directory

    正确答案:B,E

  • 第18题:

    Which path is required to be present within a WAR file?()  

    • A、 /classes
    • B、 /index.html
    • C、 /MANIFEST-INF
    • D、 /WEB-INF/web.xml
    • E、 /WEB-INF/classes
    • F、 /WEB-INF/index.html
    • G、 /META-INF/index.xml

    正确答案:E

  • 第19题:

    单选题
    Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
    A

     /conf/web.xml

    B

     /WEB-INF/web.xml

    C

     /conf/server.xml

    D

     /META-INF/web.xml

    E

     /WEB-INF/rules.xml

    F

     /META-INF/server. Xml


    正确答案: D
    解析: 暂无解析

  • 第20题:

    多选题
    You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()
    A

    The TLD must be located within the WEB-INF directory of the JAR file.

    B

    The TLD must be located within the META-INF directory of the JAR file.

    C

    The TLD must be located within the META-INF/tld/ directory of the JAR file.

    D

    The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.

    E

    The TLD must be located within a subdirectory of META-INF directory of the JAR file.


    正确答案: D,B
    解析: 暂无解析

  • 第21题:

    多选题
    You want to create a valid directory structure for your Java EE web application, and your application usestag files and a JAR file. Which three must be located directly in your WEB-INF directory(NOT in asubdirectory of WEB-INF)?()
    A

    The JAR file

    B

    A directory called lib

    C

    A directory called tags

    D

    A directory called TLDs

    E

    A directory called classes

    F

    A directory called META-INF


    正确答案: F,D
    解析: 暂无解析

  • 第22题:

    多选题
    In which two web application directories can dependent classes and libraries be located? ()
    A

    /WEB-INF/lib as a JAR file

    B

    /META-INF/lib as a JAR file

    C

    /classes as compiled class files

    D

    /WEB-INF/lib as compiled class files

    E

    /WEB-INF/classes as compiled class files

    F

    /META-INF/classes as compiled class files


    正确答案: A,E
    解析: 暂无解析

  • 第23题:

    单选题
    Which path is required to be present within a WAR file?()
    A

     /classes

    B

     /index.html

    C

     /MANIFEST-INF

    D

     /WEB-INF/web.xml

    E

     /WEB-INF/classes

    F

     /WEB-INF/index.html

    G

     /META-INF/index.xml


    正确答案: A
    解析: 暂无解析