Refer to the Exhibit. A servlet sets a session-scoped attribute product with an instance of com.example.product an forward to a JSP. Which two output the name of the product in the response? (Choose two)
A.
<%= product.getName() %>
B.
<jsp:useBean id="product" class="com.example.Product" /> <%= product.getName() %>
C.
<jsp:useBean id="com.example.Product" scope="page"> <%= product.getName() %> </jsp:useBean>
D.
<jsp:useBean id="product" type="com.example.Product" scope="page" /> <%= product.getName() %>
E.
<jsp:useBean id="product" type="com.example.Product"> <%= product.getName() %>
Currently there are no comments in this discussion, be the first to comment!
This section is not available anymore. Please use the main Exam Page.1z0-899 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Comments