Oracle
1Z0-899 · Question #143
1Z0-899 Question #143: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #143. The question stem and answer options stay visible for context.
Question
Your web application views all have the same header, which includes the <title> tag in the <head> element of the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put it into a single JSP called /WEB-INF/jsp/header.jsp. However, the title of each page is unique, so you have decided to use a variable called pageTitle to parameterize this in the header JSP, like this: 10. <title>${param.pageTitle}<title> Which JSP code snippet should you use in your main view JSPs to insert the header and pass the pageTitle variable?
Options
- A<jsp:insert page='/WEB-INF/jsp/header.jsp'>
- B<jsp:include page='/WEB-INF/jsp/header.jsp'>
- C<jsp:include file='/WEB-INF/jsp/header.jsp'>
- D<jsp:insert page='/WEB-INF/jsp/header.jsp'>
- E<jsp:include page='/WEB-INF/jsp/header.jsp'>
Unlock 1Z0-899 to see the answer
You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.