ftl文件如下
<#assign mytag=JspTaglibs["/WEB-INF/mytaglib.tld"]>
<html>
<body>
<#list list as l>
nama:${l.name}
<br>
age:${l.age}
<br>
sex: ${l.sex}
</#list>
<@mytag.helloWorld/>
</body>
</html>
错误如下 应该如何解决,哪位朋友遇到过010-4-19 19:12:48 com.opensymphony.xwork2.validator.ActionValidatorManagerFactory <clinit>
信息: Detected AnnotationActionValidatorManager, initializing it...
D:\tomcat6\webapps\free\
Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
set, which is probably not what is desired. Parser will use a default
ErrorHandler to print the first 10 errors. Please call
the 'setErrorHandler' method to fix this.
Error: URI=jndi:/localhost/free/WEB-INF/mytaglib.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jndi:/localhost/free/WEB-INF/mytaglib.tld Line=6: Document is invalid: no grammar found.
2010-4-19 19:12:48 freeer.log.JDK14LoggerFactory$JDK14Logger error
严重: Expression list is undefined on line 5, column 14 in test.ftl.
The problematic instruction:
----------
==> list list as l [on line 5, column 7 in test.ftl]
----------Java backtrace for programmers:
<#assign mytag=JspTaglibs["/WEB-INF/mytaglib.tld"]>
<html>
<body>
<#list list as l>
nama:${l.name}
<br>
age:${l.age}
<br>
sex: ${l.sex}
</#list>
<@mytag.helloWorld/>
</body>
</html>
错误如下 应该如何解决,哪位朋友遇到过010-4-19 19:12:48 com.opensymphony.xwork2.validator.ActionValidatorManagerFactory <clinit>
信息: Detected AnnotationActionValidatorManager, initializing it...
D:\tomcat6\webapps\free\
Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
set, which is probably not what is desired. Parser will use a default
ErrorHandler to print the first 10 errors. Please call
the 'setErrorHandler' method to fix this.
Error: URI=jndi:/localhost/free/WEB-INF/mytaglib.tld Line=6: Document root element "taglib", must match DOCTYPE root "null".
Error: URI=jndi:/localhost/free/WEB-INF/mytaglib.tld Line=6: Document is invalid: no grammar found.
2010-4-19 19:12:48 freeer.log.JDK14LoggerFactory$JDK14Logger error
严重: Expression list is undefined on line 5, column 14 in test.ftl.
The problematic instruction:
----------
==> list list as l [on line 5, column 7 in test.ftl]
----------Java backtrace for programmers:
记不大清了