Skip to main content



      Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Ignored directive in web.xml file
Ignored directive in web.xml file [message #1769337] Sun, 30 July 2017 03:48
Eclipse UserFriend
[Question migrated from the Java Tools forum]

I'm using the Eclipse JEE IDE (Version: Neon.3 Release (4.6.3)) on my Mac 10.11.3.

I have a taglibs.jsp file whose content is

<%@ page pageEncoding="UTF-8" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

My web.xml file contains the following snippet :

<jsp-config>
        <jsp-property-group>
            <url-pattern>*.jsp</url-pattern>
            <include-prelude>/WEB-INF/taglibs.jsp</include-prelude>
       </jsp-property-group>
  </jsp-config>



But the directive is ignored : in another .jsp I have the following line

<p><c:out value="This is Sydney" /></p>


this is rendered as "null" in the browser; if however I add a line

<%@ include file="taglibs.jsp" %>  
<p><c:out value="This is Sydney" /></p> 


then it will render "This is Sydney" as expected.
Any help appreciated.
Previous Topic:Eclipse Luna
Next Topic:How to port a local JEE web application
Goto Forum:
  


Current Time: Wed Jul 02 02:40:31 EDT 2025

Powered by FUDForum. Page generated in 0.38924 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top