tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: expressions quit evaluating and become string literals
Date Thu, 15 Jan 2004 22:54:44 GMT
Use a Servlet 2.4 deployment descriptor, looks like you're using one for 2.3.

Quoting Jason.West@ky.gov:

> I'm having a problem with JSTL 1.1.0-B1 under Tomcat 5.0.16 
> My pages were working and then I changed something that
> causes the expression to not evaluate but simply be printed out.
> Example follows:
> 
> 
> <%@ page language="java" %>
> <%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
> <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
> <html>
> <head>
> <title>JSTL Test</title>
> </head>
> <body bgcolor="#FFFFFF">
> 
> <c:set var="blanktext" >
> <a1 />
> </c:set>
> <pre>
> <c:out value="${blanktext}" />
> </pre>
> 
> </body>
> </html>
> 
> 
> 
> outputs:
> 
> <!DOCTYPE HTML PUBLIC "-//w3c//dtd html 4.0 transitional//en">
> <html>
> <head>
> <title>JSTL Test</title>
> </head>
> <body bgcolor="#FFFFFF">
> 
> 
> 
> 
> 
> <pre>
> ${blanktext}
> </pre>
> 
> 
> 
> </body>
> </html>
> 
> 
> How do I get this working again?
> 
> TIA

-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message