My actual goal is to get
<%@ page trimDirectiveWhitespaces=true %>
work. I am currently running my web application with the prefix 7.4.2. As a random thing to try, I downloaded a newer version. At the same time, when I try to start my web application, I get this exception:
PWC6188: Absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved either in the web.xml file or in the jar files deployed with this application
I found many references to this, but no answer makes any sense to me. For what it's worth, I have an updated jstl jar file in my WEB-INF / lib directory (which, of course, works fine with the previous version of the gatekeeper, or at least I assume that I certainly donβt get it of this exception).
Structurally, there is nothing exotic in the .war file that I run, I donβt think, and it worked on Jetty (via the pier) for a long time. It also works in Tomcat and Resin, not modifiable. Thus, there is some critical difference between the version 7 prefix and version 8 (maybe Jetty itself is not sure), and I suspect the solution is something extremely simple; I just can't find him.
This is a v2.5 web application, so my taglib link looks like this:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
edit Here is the web application tag from my web.xml (app one):
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" metadata-complete="false" version="2.5">
source share