and and

root of <%@include file=""%> and

root of <%@include file=""%> and <c:import url=""/>

总是忘记root相对哪个路径

 

 

<jsp:include page="/index.jsp"/>
<%@include file="index.jsp%>

root: ${project_root}/WebContent/

 

<c:import url="/index.jsp"/>

root: ${domain_root}
 

其实<c:import>是面向url的,当然就是以domain root为起始