哪位帮帮忙:Validation error messages from TagLibraryValidator for c in.的有关问题
哪位帮帮忙:Validation error messages from TagLibraryValidator for c in.的有关问题
日期:2014-05-17 浏览次数:20757 次
哪位大虾帮帮忙:Validation error messages from TagLibraryValidator for c in...的问题 我使用的是 myeclipse6.0 tomcat6.0 jdk1.5
运行代码时发现以下异常: org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for c in /member/news_add.jsp</h3><p>null: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x2) was found in the CDATA section.</p>
------解决方案-------------------- 将 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 修改为 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %> “http://java.sun.com/jsp/jstl/core”这个版本的jstl中的if标签的test属性不支持表达式。
------解决方案-------------------- An invalid XML character (Unicode: 0x2) was found in the CDATA section