READ Free Dumps For Oracle- 1z0-899
Question ID 4699 | Servlet A forwarded a request to servlet B using the forward method of RequestDispatcher. What attribute in B’s request object contains the URI of the original request received by servlet A? |
Option A | A. REQUEST_URI |
Option B | B. javax.servlet.forward.request_uri |
Option C | C. javax.servlet.forward.REQUEST_URI |
Option D | D. javax.servlet.request_dispatcher.request_uri |
Option E | E. javax.servlet.request_dispatcher.REQUEST_URI |
Correct Answer | B |
Question ID 4700 | View the Exhibit. |
Option A | A. <jsp:useBean id="product" class="com.example.Product" /> <jsp:setProperty name="product" property="*" /> |
Option B | B. <jsp:useBean id="product" class="com.example.Product" /> <% product.setName( request.getParameter( "name" ) ); %> <% product.setPrice( request.getParameter( "price" ) ); %> |
Option C | C. <jsp:useBean id="product" class="com.example.Product" /> |
Option D | D. <jsp:useBean id="product" class="com.example.Product"> |
Correct Answer | A,C |