Announcement Announcement Module
Collapse
No announcement yet.
Problem using JSTL <c:out> tag Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem using JSTL <c:out> tag

    Hi,
    am facing a problem using the <c:out> tag in a jsp. The tag simply gets not evaluated.

    JSP:
    Code:
    %@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <c:set var="hello" value="Hello World!"/>
    <c:out value="${hello}"/>
    The output is:
    HTML Code:
    ${hello}
    I'm using JSTL 1.1. The tlds are contained in the WEB-INF/tld directory, and mapped by the web.xml taglib directive to the appropriate location.

    web.xml:
    Code:
    <taglib>
    	<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    	<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
    </taglib>
    The JSP is managed by the JstlTilesView (spring 2.0)
    The problem manifests in tomcat 5.5.20 and Sun appserver 1.5.
    I have read numerous problem descriptions and solutions but none of them is solving my problem.
    does anyone have an idea?

    thanks in advance, regards
    matto
Working...
X