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 23:05:19 GMT
And then I guess you'll want to do this:

<c:out value="${blanktext}" escapeXml="false"/>

or just this:

${blanktext}

Quoting Kris Schneider <kris@dotech.com>:

> 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/>

-- 
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