반응형
- 확인해보니 전혀 불필요하다는 것은 저의 착각이었습니다.
그 렇게 착각하게 된 이유는, JSP 2.0/Servlet 2.4 스펙의 web.xml 파일에서 <web-app>의 자식으로 <taglib> 요소를 지정할 경우 web.xml이 validation 오류를 내기 때문이었습니다.
다시 확인해 본 결과 <taglib>의 위치가 바뀌었네요.
<web-app>
<jsp-config>
<taglib> ... </taglib>
</jsp-config>
</web-app>
뭐 아래처럼 되겠습니다.
<jsp-config>
<taglib>
<taglib-uri>http://devsphere.com/articles/jspcache</taglib-uri>
<taglib-location>/WEB-INF/jspcache.tld</taglib-location>
</taglib>
</jsp-config>
반응형