READ Free Dumps For Oracle- 1z0-899
Question ID 4671 | You are creating a JSP page to display a collection of data. This data can be displayed in several different ways so the architect on your project decided to create a generic servlet that generates a comma delimited string so that various pages can render the data in different ways. This servlet takes on request parameter: objoctID. Assume that this servlet is mapped to the URL pattern: /WEB-INF/data. |
Option A | A. <c:import varReader='dataString' url='/WEB-INF/data'> |
Option B | B. <c:import varReader='dataString' url='/WEB-INF/data'> |
Option C | C. <c:import var='dataString' url='/WEB-INF/data'> <c:param name='objectID' value='${currentOID}' /> </c:import> |
Option D | D. <c:import var='dataString' url='/WEB-INF/data'> <c:param name='objectID' value='${currentOID}' /> |
Correct Answer | D |
Question ID 4672 | Which JSP standard action can be used to import content from a resource called foo.jsp? |
Option A | A. <jsp:import file='foo.jsp' /> |
Option B | B. <jsp:import page='foo.jsp' /> |
Option C | C. <jsp:include page='foo.jsp' /> |
Option D | D. <jsp:include file='foo.jsp' /> |
Option E | E. <jsp:import>foo.jsp</jsp:import> |
Option F | F. <jsp:include>foo.jsp</jsp:include> |
Correct Answer | C |