👿 Here are the relevant parts of my JSP:
<?xml version=”1.0″?>
<jsp:root version=”2.0″
xmlns:jsp=”http://java.sun.com/JSP/Page”
xmlns:fmt=”http://java.sun.com/jsp/jstl/fmt”
xmlns:c=”http://java.sun.com/jsp/jstl/core”
xmlns:bean=”http://struts.apache.org/tags-bean”
xmlns:html=”http://struts.apache.org/tags-html”
xmlns:logic=”http://struts.apache.org/tags-logic”
xmlns:tiles=”http://struts.apache.org/tags-tiles”>
<jsp:directive.page contentType=”text/html”/>
<![CDATA[<!DOCTYPE html
PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.or/TR//xhtml1/DTD/xhtml1-transitional.dtd”>%5D%5D>
<html:html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<title>landing.jsp</title>
</head>
<body>
<c:url var=”questOneURL” value=”surveyResponseAction.do” scope=”session”>
<c:param name=”surveyId” value=”${survey.surveyId}”/>
</c:url>
<a href='<c:out value=”${questOneURL}”/>’>Question One</a>
</body>
</html:html>
</jsp:root>
I am using Tomcat 5.0.
When I attempting to render this page, the following error appears in the page:
org.apache.jasper.JasperException: /landing.jsp The value of attribute “href” associated with an element type “a” must not contain the ‘<‘ character.
jstl.jar is in the build path and c.tld is in WEB-INF. So, what’s up?
Thanks for the help.