Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:48
Roparzh Hemon is currently offline Roparzh HemonFriend
Messages: 18
Registered: July 2017
Junior Member
[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: Fri Apr 26 23:09:38 GMT 2024

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

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

Back to the top