Oracle
1Z0-899 · Question #129
A web application allows the HTML title banner to be set using a servlet context initialization parameter called titleStr.Which two properly set the title in this scenario? (Choose two.)
The correct answer is B. <title>${initParam.titleStr}</title> E. <title>${initParam['titleStr']}</title>. See the full explanation below for the reasoning.
Question
A web application allows the HTML title banner to be set using a servlet context initialization parameter called titleStr.Which two properly set the title in this scenario? (Choose two.)
Options
- A<title>${titleStr}</title>
- B<title>${initParam.titleStr}</title>
- C<title>${params[0].titleStr}</title>
- D<title>${paramValues.titleStr}</title>
- E<title>${initParam['titleStr']}</title>
- F<title>${servletParams.titleStr}</title>
- G<title>${request.get("titleStr")}</title>
How the community answered
(50 responses)- A2% (1)
- B80% (40)
- D4% (2)
- F12% (6)
- G2% (1)
Community Discussion
No community discussion yet for this question.