沒有導入頁面
<c:catch var="error32">
<c:import url="/other.jsp" var="WW" context="/other" scope="session"
charEncoding="utf-8" />
</c:catch>
<c:out value="${error32}" />
<br>
<c:out value="${sessionScope.WW}"/>
可以通過cout把html導入,但是other.jsp沒有像百度首頁一樣顯示
<c:catch var="error32">
<c:import url="/other.jsp" var="WW" context="/other" scope="session"
charEncoding="utf-8" />
</c:catch>
<c:out value="${error32}" />
<br>
<c:out value="${sessionScope.WW}"/>
可以通過cout把html導入,但是other.jsp沒有像百度首頁一樣顯示
2018-09-10
舉報
2022-03-30
2018-09-23
要啟動other的那個項目,而且還要更改tomcat包下conf包里context文件,給<Context>標簽增加一個屬性設置
crossContext="true"