AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-899





Question ID 4677

Which two are true about the JSTL core iteration custom tags? (Choose two.)

 

Option A

A.    It may iterate over arrays, collections, maps, and strings.
 

Option B

B.    The body of the tag may contain EL code, but not scripting code.
 

Option C

C.    When looping over collections, a loop status object may be used in the tag body.
 

Option D

D.    It may iterate over map, but only the key of the mapping may be used in the tag body.
 

Option E

E.    When looping over integers (for example begin= ‘1’ end= ‘10’), a loop status object may not be used in the tag body.

Correct Answer A,C
Explanation


Question ID 4678

Assume a JavaBean com.example.GradedTestBean exists and has two attributes. The attribute name of type java.lang.string and the attribute score is of type jave.lang.Integer.
An array of com.example.GradedTestBean objects is exposed to the page in a request-scoped attribute called results. Additionally, an empty java.util.HashMap called resultMap is placed in the page scope.
A JSP page needs to add the first entry in results to resultMap, storing the name attribute of the
bean as the key and the score attribute of the bean as the value. Which code snippet of JSTL code satisfies this requirement?
 

Option A

A.    ${resultMap[results[0].name] = results[0].score}
 

Option B

B.    <c:set var=“${resultMap}” key=“{results[0].name}” value=“${results[0].score}” />
 

Option C

C.    <c:set var=“resultMap” property=“${results[0].name}”> ${results[0].value}
</c:set>
 

Option D

D.    <c:set var=“resultMap” property=“${results[0].name}”> value=“${results[0].score}” />
 

Option E

E.    <c:set target=“${resultMap}” property=“${results[0].name}”> value=“${results[0].score}” />
 

Correct Answer E
Explanation

Send email to admin@getfreedumps for new dumps request!!!