单选题Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error pag

题目
单选题
Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error page mechanism, and outputs the message "File notfound" in the response?()
A

<c:try catch=ex><my:errorProne /></c:try>${ex.message}

B

<c:catch var=ex><my:errorProne /></c:catch>${ex.message}

C

<c:try>. <my:errorProne />. </c:try>. <c:catch var=ex />. ${ex.message}

D

<c:try>. <my:errorProne />. <c:catch var=ex />. ${ex.message}. </c:try>


相似考题
更多“单选题Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error pag”相关问题
  • 第1题:

    Which of the following statements about authentication responses and conditions is true? ()(Choose two.)

    A. When a router receives a failure response, it stops querying authentication methods.

    B. When a router receives an error response, it stops querying authentication methods.

    C. If the router receives a failure response from an authentication method, it queries the next method.

    D. The router does not differentiate between failure and error responses; the authentication process is always interrupted.

    E. If it receives no response from the authentication method, a router will determine the error condition on its own; the router also has the option to proceed to the next method in a list if configured accordingly.


    参考答案:A, E

  • 第2题:

    在J2EE中,对于以下的include指令和include动作,书写正确的是() 

    • A、<jsp:include page=http://localhost:/8080/my.jsp/> 
    • B、<%@ include file=http://localhost:/8080/my.jsp/>
    • C、<jsp:include file=http://localhost:/8080/my.jsp/> 
    • D、<%@ include page=http://localhost:/8080/my.jsp/>

    正确答案:A,B

  • 第3题:

    A system administrator wants to ensure that the cluster will failover if quorum is lost for appAvg in RG1 whichis mirrored between hdisk3 and hdisk5. Automatic error notification has been configured in this cluster. Which of the following actions should be usedto test that the cluster fails over correctly when quorum is lost for appAvg?()

    • A、Emulate the errpt entry from the HACMP Error Notification menu
    • B、Execute a custom test procedure from the HACMP Cluster Test Tool menu
    • C、Emulate the LVM_SA_QUORCLOSE event from the HACMP Event Emulation menu
    • D、Execute the automated test procedure from the HACMP Cluster Test Tool menu

    正确答案:A

  • 第4题:

    A JSP page needs to instantiate a JavaBean to be used by only that page.  Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()

    • A、Id
    • B、Type
    • C、Name
    • D、Class
    • E、Yscope

    正确答案:A,D

  • 第5题:

    Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error page mechanism, and outputs the message "File notfound" in the response?()

    • A、<c:try catch="ex"><my:errorProne /></c:try>${ex.message}
    • B、<c:catch var="ex"><my:errorProne /></c:catch>${ex.message}
    • C、<c:try>. <my:errorProne />. </c:try>. <c:catch var="ex" />. ${ex.message}
    • D、<c:try>. <my:errorProne />. <c:catch var="ex" />. ${ex.message}. </c:try>

    正确答案:B

  • 第6题:

    How can you modify the application to return more meaningful error messages to the user?()

    • A、Create a custom messages table. Include the necessary error handling code in the form modules to display the meaningful custom message instead of the ORA- error message. 
    • B、Provide users with a form in the application to query the ORA- error, that will return a custom message to replace the ORA- message. 
    • C、Eliminate constraints where possible, thereby limiting the number of error messages returned. 
    • D、Create a procedure to include the RETRIEVE_MESSAGE built-in that automatically translates common server errors into meaningful messages for use in Forms.

    正确答案:A

  • 第7题:

    单选题
    Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error page mechanism, and outputs the message "File notfound" in the response?()
    A

    <c:try catch=ex><my:errorProne /></c:try>${ex.message}

    B

    <c:catch var=ex><my:errorProne /></c:catch>${ex.message}

    C

    <c:try>. <my:errorProne />. </c:try>. <c:catch var=ex />. ${ex.message}

    D

    <c:try>. <my:errorProne />. <c:catch var=ex />. ${ex.message}. </c:try>


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

  • 第8题:

    单选题
    You are creating an error page that provides a user-friendly screen whenever a server exception occurs.You want to hide the stack trace, but you do want to provide the exception’s error message to the user sothe user can provide it to the customer service agent at your company.  Which EL code snippet inserts thiserror message into the error page?()
    A

    Message: <b>${exception.message}</b>

    B

    Message: <b>${exception.errorMessage}</b>

    C

    Message: <b>${request.exception.message}</b>

    D

    Message: <b>${pageContext.exception.message}</b>

    E

    Message: <b>${request.exception.errorMessage}</b>


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

  • 第9题:

    单选题
    You execute the following statement in a Microsoft Windows environment. There are no conflicts in the path name definitions. C: /> mysqld – install Mysql56 – defaults – file = C :/my –opts.cnf What is the expected outcome?()
    A

    Mysql is installed as the Windows service name Mysql56, and uses c: /my-opts.cnf as the configuration file

    B

    An error message is issued because – install is not a valid option for mysqld

    C

    A running Mysql 5.6 installation has its runtime configuration updated with the server variables set in c: /my-opts.cnf

    D

    Mysqld acts as an MSI installer and installs the Mysql 5.6 version, with the c: /my-opts.cnf configuration file


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

  • 第10题:

    单选题
    How can you modify the application to return more meaningful error messages to the user?()
    A

    Create a custom messages table. Include the necessary error handling code in the form modules to display the meaningful custom message instead of the ORA- error message. 

    B

    Provide users with a form in the application to query the ORA- error, that will return a custom message to replace the ORA- message. 

    C

    Eliminate constraints where possible, thereby limiting the number of error messages returned. 

    D

    Create a procedure to include the RETRIEVE_MESSAGE built-in that automatically translates common server errors into meaningful messages for use in Forms.


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

  • 第11题:

    多选题
    A JSP page needs to instantiate a JavaBean to be used by only that page.  Which two jsp:useBeanattributes must be used to access this attribute in the JSP page?()
    A

    Id

    B

    Type

    C

    Name

    D

    Class

    E

    Yscope


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

  • 第12题:

    单选题
    Which option prevents the exception thrown by my:errorProne from invoking the error page mechanism and outputs the message "File not found" in the response?()
    A

    A

    B

    B

    C

    C

    D

    D

    E

    E


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

  • 第13题:

    Which of the following statements about authentication responses and conditions is true? ()(Choosetwo.)

    • A、When a router receives a failure response, it stops querying authentication methods.
    • B、When a router receives an error response, it stops querying authentication methods.
    • C、If the router receives a failure response from an authentication method, it queries the next method.
    • D、The router does not differentiate between failure and error responses; the authentication process is always interrupted.
    • E、If it receives no response from the authentication method, a router will determine the error condition On its own; the router also has the option to proceed to the next method in a list if configured accordingly.

    正确答案:A,E

  • 第14题:

    A technician receives a boot error message OS not found. Which of the following should thetechnician check? ()

    • A、The boot order in the BIOS
    • B、If Plug and Play is enabled
    • C、If the computer is in Safe Mode
    • D、If the BIOS is current

    正确答案:A

  • 第15题:

    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

  • 第16题:

    You are creating an error page that provides a user-friendly screen whenever a server exception occurs.You want to hide the stack trace, but you do want to provide the exception’s error message to the user sothe user can provide it to the customer service agent at your company.  Which EL code snippet inserts thiserror message into the error page?()

    • A、Message: <b>${exception.message}</b>
    • B、Message: <b>${exception.errorMessage}</b>
    • C、Message: <b>${request.exception.message}</b>
    • D、Message: <b>${pageContext.exception.message}</b>
    • E、Message: <b>${request.exception.errorMessage}</b>

    正确答案:D

  • 第17题:

    You execute the following statement in a Microsoft Windows environment. There are no conflicts in the path name definitions. C: /> mysqld – install Mysql56 – defaults – file = C :/my –opts.cnf What is the expected outcome?()

    • A、Mysql is installed as the Windows service name Mysql56, and uses c: /my-opts.cnf as the configuration file
    • B、An error message is issued because – install is not a valid option for mysqld
    • C、A running Mysql 5.6 installation has its runtime configuration updated with the server variables set in c: /my-opts.cnf
    • D、Mysqld acts as an MSI installer and installs the Mysql 5.6 version, with the c: /my-opts.cnf configuration file

    正确答案:A

  • 第18题:

    多选题
    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. 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.


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

  • 第19题:

    单选题
    A user reports their system is displaying an error message ‘NTLDR is missing’. Which of the following is the MOST likely cause for this error?()
    A

    BOOT.INI file is configured incorrectly

    B

    Corrupt MBR

    C

    Boot sector virus

    D

    System file is missing components


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

  • 第20题:

    单选题
    Assume the custom tag my:errorProne always throws a java.lang.RuntimeException with the message "Filenot found." An error page has been configured for this JSP page. Which option prevents the exceptionthrown by my:errorProne from invoking the error page mechanism, and outputs the message "File notfound" in the response?()
    A

    <c:try catch=ex><my:errorProne /></c:try>${ex.message}

    B

    <c:catch var=ex><my:errorProne /></c:catch>${ex.message}

    C

    <c:try>. <my:errorProne />. </c:try>. <c:catch var=ex />. ${ex.message}

    D

    <c:try>. <my:errorProne />. <c:catch var=ex />. ${ex.message}. </c:try>


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

  • 第21题:

    多选题
    Given in a single JSP page:   Which two are true?()
    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’.


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

  • 第22题:

    单选题
    A system administrator wants to ensure that the cluster will failover if quorum is lost for appAvg in RG1 whichis mirrored between hdisk3 and hdisk5. Automatic error notification has been configured in this cluster. Which of the following actions should be usedto test that the cluster fails over correctly when quorum is lost for appAvg?()
    A

    Emulate the errpt entry from the HACMP Error Notification menu

    B

    Execute a custom test procedure from the HACMP Cluster Test Tool menu

    C

    Emulate the LVM_SA_QUORCLOSE event from the HACMP Event Emulation menu

    D

    Execute the automated test procedure from the HACMP Cluster Test Tool menu


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

  • 第23题:

    单选题
    A user is trying to use Remote Desktop to connect to another computer on the LAN. Theconnection fails. The technician opens up a command prompt and types the following: “telnetcomputernamE. 3389” and also gets the same error message. Which of the following is the MOSTlikely cause of this error, assuming that the OS firewall has been disabled?()
    A

    The antivirus software is blocking the incoming connection.

    B

    The ISP is blocking Remote Desktop at their end.

    C

    The RDP connection has been configured to use a non-standard port.

    D

    The telnet service has not been installed.


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

  • 第24题:

    多选题
    在J2EE中,对于以下的include指令和include动作,书写正确的是()
    A

    <jsp:include page=http://localhost:/8080/my.jsp/>

    B

    <%@ include file=http://localhost:/8080/my.jsp/>

    C

    <jsp:include file=http://localhost:/8080/my.jsp/>

    D

    <%@ include page=http://localhost:/8080/my.jsp/>


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