[opencms-dev] TLD error

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Tue Feb 26 13:12:45 CET 2008


I copied over a few JSPs from 6.2.3 into 7.0.3, if it matters at all.

A page that is bound to a jsp template gives an error.
The main.jsp includes a head.jsp which starts with the following:

<%@page import="org.opencms.jsp.*,org.opencms.file.*,java.util.*" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<c:set var="locale"><cms:property name="locale" file="search"/></c:set>
<fmt:setLocale value="${locale}"/>
<fmt:bundle basename="messages">
<cms:template element="head">

<head>
<title>Your Page Title</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

and the resulting error is this:

javax.servlet.jsp.JspException: org.apache.jasper.JasperException:
/WEB-INF/jsp/offline/system/modules/org.yaml.frontend/elements/yamlhead.jsp(6,5)
According to TLD or attribute directive in tag file, attribute value
does not accept any expressions
Reason:
/WEB-INF/jsp/offline/system/modules/org.yaml.frontend/elements/yamlhead.jsp(6,5)
According to TLD or attribute directive in tag file, attribute value
does not accept any expressions


Any clues?

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list