Youarebuildingyourownlayoutmechanismbyincludingdynamiccontentforthepage’sheaderandfootersections.Thefooterisalwaysstatic,buttheheadergeneratesthetitletagthatrequiresthepagenametobespecifieddynamicallywhentheheaderisimported.WhichJSPcodesnippetperformstheimportoftheheadercontent?()A.jsp:includepage=’/WEB-INF/jsp/header.jsp’jsp:paramname=’pageName’value=’WelcomePage’//jsp:includeB.jsp:importpage=’/WEB-INF/jsp/header.jsp’jsp:paramname=’pageName’value=’WelcomePage’//jsp:importC.jsp:includepage=’/WEB-INF/jsp/header.jsp’jsp:attributename=’pageName’value=’WelcomePage’/./jsp:includeD.jsp:importpage=’/WEB-INF/jsp/header.jsp’.jsp:attributename=’pageName’value=’WelcomePage’/./jsp:import
Youarebuildingyourownlayoutmechanismbyincludingdynamiccontentforthepage’sheaderandfootersections.Thefooterisalwaysstatic,buttheheadergeneratesthe<title>tagthatrequiresthepagenametobespecifieddynamicallywhentheheaderisimported.WhichJSPcodesnippetperformstheimportoftheheadercontent?()
A.<jsp:includepage=’/WEB-INF/jsp/header.jsp’><jsp:paramname=’pageName’value=’WelcomePage’/></jsp:include>
B.<jsp:importpage=’/WEB-INF/jsp/header.jsp’><jsp:paramname=’pageName’value=’WelcomePage’/></jsp:import>
C.<jsp:includepage=’/WEB-INF/jsp/header.jsp’><jsp:attributename=’pageName’value=’WelcomePage’/>.</jsp:include>
D.<jsp:importpage=’/WEB-INF/jsp/header.jsp’>.<jsp:attributename=’pageName’value=’WelcomePage’/>.</jsp:import>