18.06.2010 14:48:29 org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for fmt in /WEB-INF/jsp/listRecords.jsp</h3><p>null: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1) was found in the CDATA section.</p><h3>Validation error messages from TagLibraryValidator for c in /WEB-INF/jsp/listRecords.jsp</h3><p>null: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1) was found in the CDATA section.</p>listRecords.jsp
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <html> <head> <title><fmt:message key="LRtitle"/></title> </head> <body> <h1><fmt:message key="LRheading"/></h1> <table border="1"> <tbody> <tr> <td colspan="2"><%@ include file="/WEB-INF/jsp/includes/picture.GIF"%></td> </tr> <tr> <td><%@ include file="/WEB-INF/jsp/menu.jsp"%></td> <td rowspan="2"> <%@ include file="/WEB-INF/jsp/includes/RecordList.jsp"%> </td> </tr> <tr> <td><%@ include file="/WEB-INF/jsp/includes/RecordListMenu.jsp"%></td> </tr> </tbody> </table> </body> </html>RecordList
<table border="1">
<tbody><tr>
<td>Day</td>
<td>Channel</td>
<td>Start</td>
<td>Program</td></tr>
<c:forEach items="${recordsExt}" var="r">
<tr>
<td>${r.record.day}</td>
<td>${r.channel}</td>
<td>${r.time}</td>
<td>${r.program}</td>
<td><a href="deleteRecord.html?record=${r.id}">delete</a></td>
</tr>
</c:forEach>
</tbody></table>
<a href="addRecord.html">Add new record</a>a piece of web xml
<?xml version="1.0" encoding="UTF-8" ?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> ... <jsp-config> <taglib> <taglib-uri>/spring</taglib-uri> <taglib-location>/WEB-INF/tld/spring-form.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri> <taglib-location>/WEB-INF/tld/c.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri> <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location> </taglib> </jsp-config> </web-app>
If i don't use any includes everything works fine!


Sign In
Create Account

Back to top









