jstl로 <c:import>를 하려니 아래와 문제가 생겼다.

javax.servlet.ServletException: Unable to get RequestDispatcher for Context: "****" and URL: "/contentView.do?boardJspView=contentView%2fboardTotalList". Verify values and/or enable cross context access.

사수이신 황책임이 확인해준 결과 톰캣폴더 conf/Catalina/localhost폴더에
"context".xml에 크로스 컨택스트를 하지 않는 것이 문제였다.

<Context path="****" crossContext="false"></Context>

이런식으로 설정해 주면 된다.
Posted by 오달봉
,