更多“单选题Which path is required to be present within a WAR file?()A /classesB /index.htmlC /MANIFEST-INFD /WEB-INF/web.xmlE /WEB-INF/classes”相关问题
  • 第1题:

    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

  • 第2题:

    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

  • 第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 are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()

    • A、<% if ( request.isUserInRole("SalesManager") ) { %> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> <% } %>
    • B、<jsp:if test=’request.isUserInRole("SalesManager")’> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> </jsp:if>
    • C、<% if ( request.isUserInRole("SalesManager") ) { %> . <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> . <% } %>
    • D、<jsp:if test=’request.isUserInRole("SalesManager")’> <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> </jsp:if>

    正确答案:A

  • 第5题:

    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

  • 第6题:

    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

  • 第7题:

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

  • 第8题:

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

  • 第9题:

    单选题
    UAP项目与BPM集成时需要修改BPM部署文件的一些配置文件,以下不属于其中需要修改的文件是()
    A

    default.war/WEB-INF/_srv/config/uddi-config.xml

    B

    default.war/WEB-INF/_srv/config/user-config.xml

    C

    default.war/WEB-INF/weB.xml

    D

    default.war/WEB-INF/_srv/config/user-local-config.xml


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

    UAP项目与BPM集成时需要修改BPM部署文件的一些配置文件,以下不属于其中需要修改的文件是()

    • A、default.war/WEB-INF/_srv/config/uddi-config.xml
    • B、default.war/WEB-INF/_srv/config/user-config.xml
    • C、default.war/WEB-INF/weB.xml
    • D、default.war/WEB-INF/_srv/config/user-local-config.xml

    正确答案:D

  • 第14题:

    假设在helloapp应用中有一个Javabean文件HelloServlet,它位于org.javathinker包下,那么这个bean的class文件应该放在什么目录下? ()

    • A、helloapp/HelloServlet.class
    • B、helloapp/WEB-INF/HelloServlet.class
    • C、helloapp/WEB-INF/classes/HelloServlet.class
    • D、helloapp/WEB-INF/classes/org/javathinker/HelloServlet.class

    正确答案:D

  • 第15题:

    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

  • 第16题:

    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

  • 第17题:

    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

  • 第18题:

    集成统一权限时不需要配置以下哪个文件()

    • A、UALogin/WEB-INF/classes/cfg/userauth.properties
    • B、isc_services_v1_6.war/WEB-INF/config/prop-config
    • C、UALogin/WEB-INF/classes/cfg/objFactoryNoEjb_ORACLE.xml
    • D、isc_services/WEB-INF/config/bean-config/bean-core-config.xml

    正确答案:B

  • 第19题:

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

  • 第20题:

    单选题
    假设在helloapp应用中有一个Javabean文件HelloServlet,它位于org.javathinker包下,那么这个bean的class文件应该放在什么目录下?()
    A

    helloapp/HelloServlet.class

    B

    helloapp/WEB-INF/HelloServlet.class

    C

    helloapp/WEB-INF/classes/HelloServlet.class

    D

    helloapp/WEB-INF/classes/org/javathinker/HelloServlet.class


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

  • 第21题:

    单选题
    集成统一权限时不需要配置以下哪个文件()
    A

    UALogin/WEB-INF/classes/cfg/userauth.properties

    B

    isc_services_v1_6.war/WEB-INF/config/prop-config

    C

    UALogin/WEB-INF/classes/cfg/objFactoryNoEjb_ORACLE.xml

    D

    isc_services/WEB-INF/config/bean-config/bean-core-config.xml


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

  • 第22题:

    单选题
    You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()
    A

    <% if ( request.isUserInRole(SalesManager) ) { %> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> <% } %>

    B

    <jsp:if test=’request.isUserInRole(SalesManager)’> <%@ include file=’/WEB-INF/html/sales-mgr-menu.html’ %> </jsp:if>

    C

    <% if ( request.isUserInRole(SalesManager) ) { %> . <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> . <% } %>

    D

    <jsp:if test=’request.isUserInRole(SalesManager)’> <jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ /> </jsp:if>


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

  • 第23题:

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


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

  • 第24题:

    单选题
    在下面哪个web应用目录中可以放置所需要的class文件?()
    A

     /WEB-INF/lib

    B

     /META-INF/lib

    C

     /classes 放置已经编译的类文件

    D

     /WEB-INF/classes


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