READ Free Dumps For Oracle- 1z0-899
Question ID 4669 | Which JSTL code snippet can be used to import content from another web resource? |
Option A | A. <c:import url = “foo.jsp”/> |
Option B | B. <c:import page = “foo.jsp”/> |
Option C | C. <c:include url = “foo.jsp”/> |
Option D | D. <c:include page = “foo.jsp”/> |
Option E | E. Importing cannot be done in JSTL. A standard action must be used instead. |
Correct Answer | A |
Question ID 4670 | In a jsp-centric shopping cart application cart application to move a client’s home address of Customer object into the shipping address of the order object. The address data is stored in a value object class called Address with properties for: street address, city, province, country, and postal code. |
Option A | A. <c:set var='order' property='shipAddress' value='${client.homeAddress}' /> |
Option B | B. <c:set target='${order}' property='shipAddress' value='${client.homeAddress}' /> |
Option C | C. <jsp:setProperty name='${order}' property='shipAddress' value='${client.homeAddress}' /> |
Option D | D. <c:set var='order' property='shipAddress'> |
Option E | E. <c:set target='${order}' property='shipAddress'> |
Option F | F. <c:setProperty name='${order}' property='shipAddress'> <jsp:getProperty name='client' property='homeAddress' /> </c:setProperty> |
Correct Answer | B,E |