jsp
web.xml에서 taglib error날때
행복한 수지아빠
2010. 12. 22. 15:33
반응형
JSP
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
몇버전 부터인지는 정확히 모르겠고 web.xml에 2.4나 2.5에서 <taglib>를 쓰면 에러메시지가 뜬다.
cvc-complex-type.2.4.a:Invalid content was found starting with element 'taglib'
해결 방법은 <taglib>를 <java-config>태그안에 넣는다.
ex.
<jsp-config>
<taglib>
<taglib-uri> ... </taglib-uri>
<taglib-location> ... </taglib-location>
</taglib>
</jsp-config>
[출처] web.xml taglib error|작성자 알콜진
반응형