tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Enabling ${...} Syntax for JSTL in JSPs
Date Mon, 08 Aug 2016 12:02:23 GMT
On 06/08/2016 15:48, Jerry Malcolm wrote:
> I have several sites that all run on the same server.  All of them use
> XML extensively for the model data and use JSTL to extract the XML data
> and display the data on the JSP pages.  I had to do some maintenance on
> the JSP code structure for one of the sites, rearranging and changing up
> headers, include files, etc, and I broke something.  All of the pages
> still compile and display fine.  But now, any of the places on the page
> where I use ${....} to display an XML data value, the page now just
> shows, for example, the literal "${name}" string instead of the name
> itself. If I use <x:out select="$name"/> it works fine.  So it's just
> that the compiler is no longer recognizing ${...} syntax.
> I'm using TC 8.0.24.  But I'm pretty sure this has nothing to do with TC
> since it used to work and everything still works fine on the other sites
> on the same server.  I know I did something stupid and messed something
> up that caused this.  But I'm at a loss for where to start looking. 
> What could I possibly have done to turn off the JSP compiler from
> recognizing and resolving ${...} syntax?

The most likely cause is you added:

<%@ page isELIgnored="true" %>

to some pages as a result of your refactoring.


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

View raw message