niusouti.com

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()A、 /conf/web.xmlB、 /WEB-INF/web.xmlC、 /conf/server.xmlD、 /META-INF/web.xmlE、 /WEB-INF/rules.xmlF、 /META-INF/server. Xml

题目

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

相似考题
更多“Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()A、 /conf/web.xmlB、 /WEB-INF/web.xmlC、 /conf/server.xmlD、 /META-INF/web.xmlE、 /WEB-INF/rules.xmlF、 /META-INF/server. Xml”相关问题
  • 第1题:

    Given an Http Session session. A Servlet Request request. And a Servlet Context context. Which retrieves a URL to /WEB INF/ my config.xml within a web application?()

    • A、 session.get Resource (“/WEB-INF/myconfig.xml”)
    • B、 request.get Resource (“/WEB-INF/myconfig.xml”)
    • C、 context.get Resource (“/WEB-INF/myconfig.xml”)
    • D、 get Class ().get Resource (“/WEB-INF/myconfig.xml”)

    正确答案:C

  • 第2题:

    A JSP page contains a taglib directive whose uri attribute has the value dbtags. Which XML element withinthe web application deployment descriptor defines the associated TLD?()

    • A、<tld><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location></tld>
    • B、<taglib><uri>dbtags</uri><location>/WEB-INF/tlds/dbtags.tld</location>. </taglib>
    • C、<tld>. <tld-uri>dbtags</tld-uri>. <tld-location>/WEB-INF/tlds/dbtags.tld</tld-location> . </tld>
    • D、<taglib><taglib-uri>dbtags</taglib-uri><taglib-location>/WEB-INF/tlds/dbtags.tld. </taglib-location>. </taglib>

    正确答案:D

  • 第3题:

    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

    正确答案:D

  • 第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题:

    What are the two proper locations of deployment descriptors files inside of archives deployed to WebLogic?()

    • A、the WEB-INF subdirectory for a WAR file
    • B、the META-INF subdirectory for an EAR file, or EJB-JAR
    • C、the DD-INF subdirectory
    • D、the root of archive
    • E、any searchable location

    正确答案:A,B

  • 第8题:

    单选题
    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
    解析: 暂无解析

  • 第9题:

    多选题
    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
    解析: 暂无解析

  • 第10题:

    多选题
    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
    解析: 暂无解析

  • 第11题:

    单选题
    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
    解析: 暂无解析

  • 第12题:

    单选题
    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


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

  • 第13题:

    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

    正确答案:B,C

  • 第14题:

    在Web项目的目录结构中,web.xml文件位于()中。 

    • A、src目录
    • B、文档根目录
    • C、META-INF目录
    • D、WEB-INF目录

    正确答案:D

  • 第15题:

    Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()

    • A、session.getResource("/WEB-INF/myconfig.xml")
    • B、request.getResource("/WEB-INF/myconfig.xml")
    • C、context.getResource("/WEB-INF/myconfig.xml")
    • D、getClass().getResource("/WEB-INF/myconfig.xml")

    正确答案: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题:

    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

  • 第20题:

    多选题
    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
    解析: 暂无解析

  • 第21题:

    多选题
    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
    解析: 暂无解析

  • 第22题:

    单选题
    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
    解析: 暂无解析

  • 第23题:

    多选题
    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,D
    解析: 暂无解析