nerdexam
Oracle

1Z0-899 · Question #50

1Z0-899 Question #50: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #50. The question stem and answer options stay visible for context.

Question

Click the Exhibit button. Given the HTML form: 1. <html> 2. <body> 3. <form action="submit.jsp"> 4. Name: <input type="text" name="i1"><br> 5. Price: <input type="text" name="i2"><br> 6. <input type="submit"> 7. </form> 8. </body> 9. </html> Assume the product attribute does NOT yet exist in any scope. Which code snippet, in submit.jsp, instantiates an instance of com.example. Product that contains the results of the form submission?

Exhibit

1Z0-899 question #50 exhibit

Options

  • A<jsp:useBean id="com.example.Product" />
  • B<jsp:useBean id="product" class="com.example.Product" />
  • C<jsp:useBean id="product" class="com.example.Product">
  • D<jsp:useBean id="product" type="com.example.Product">

Unlock 1Z0-899 to see the answer

You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-899 Practice