Exam Details

  • Exam Code
    :1Z0-858
  • Exam Name
    :Java Enterprise Edition 5 Web Component Developer Certified Professional
  • Certification
    :Oracle Certifications
  • Vendor
    :Oracle
  • Total Questions
    :276 Q&As
  • Last Updated
    :Mar 23, 2025

Oracle Oracle Certifications 1Z0-858 Questions & Answers

  • Question 261:

    Click the Exhibit button.

    The attribute "name" has a value of "Foo,"

    What is the result if this tag handler's tag is invoked?

    A. Foo

    B. done

    C. Foodone

    D. An exception is thrown at runtime.

    E. No output is produced from this code.

    F. Compilation fails because of an error in this code.

  • Question 262:

    Given the JSP code:

    10.

    11.

    12.

    13.

    Hello, ${customer.title} ${customer.lastName}, welcome

    14.

    to Squeaky Beans, Inc.

    15.

    16.

    Which three types of JSP code are used? (Choose three.)

    A. Java code

    B. template text

    C. scripting code

    D. standard action

    E. expression language

  • Question 263:

    You have built a collection of custom tags for your web application. The TLD file is located in the file: / WEB-INF/myTags.xml. You refer to these tags in your JSPs using the symbolic name: myTags. Which deployment descriptor element must you use to make this link between the symbolic name and the TLD file name?

    A. myTags/WEB-INF/myTags.xml

    B. myTags/WEB-INF/myTags.xml

    C. myTags/WEB-INF/myTags.xml

    D. myTags/WEB-INF/myTags.xml

  • Question 264:

    To take advantage of the capabilities of modern browsers that use web standards, such as XHTML and CSS, your web application is being converted from simple JSP pages to JSP Document format. However, one of your JSPs, /scripts/ screenFunctions.jsp, generates a JavaScript file. This file is included in several web forms to create screen-specific validation functions and are included in these pages with the following statement:

    10.

    11.

    14.

    15.

    Which JSP code snippet declares that this JSP Document is a JavaScript file?

    A. <%@ page contentType='application/javascript' %>

    B.

    C.

    D.

    E. No declaration is needed because the web form XHTML page already declares the MIME type of the / scripts/screenFunctions.jsp file in the