This question is from HFSJ page 424.
Question: The following code fragment appears in a
JSP page:
<jsp:include page="/jspf/header.html" />
The JSP page is part of a web application with the context root myapp.
Given that the application's top level directory is myapp, what is the path to the header.html file?
A. /header.html
B. /jspf/header.html
C. /myapp/jspf/header.html ....according to the book - correct answer.
D. /includes/jspf/header.html
What I don't understand is the question itself. When it says "what is the path ...", my question is related to what? the server root? or as it would be identified in <location> as defined in web.xml (then the correct answer would be B not C).
Thus, what is the context of the question? or am I missing something that is obvious?
Thanks.