tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbeam <>
Subject Re: JSTL forEach acting funny
Date Thu, 02 Dec 2004 13:24:00 GMT
On Thursday 02 December 2004 08:12 am, David Smith wrote:
> As I understand it, you need to make sure Tomcat knows you want the 
> spec as opposed to the 2.3 spec to use JSTL semantics like ${}.  What 
> does your web.xml file show at the top?  Does it use the 2.4 schema?
> --David

I think so. Actually I am removing all the DB stuff to narrow this down 
a bit. Here is my new server.xml:
<web-app xmlns=""

And now, even weirder, I use the following simplified JSP:
<%@ taglib uri="" prefix="c" %>
<c:forTokens var="foo" items="5,6,7,8" delims=",">
    foo is ${foo} <br/>
and got 
foo is ${foo}
foo is ${foo}
foo is ${foo}
foo is ${foo} 

So now it is looping but the ${} is still not parsed.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message