This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 195586

Summary: JSP Editing: 6.9 would resolve taglib uris through the web.xml; 7.0 beta 2 does not
Product: javaee Reporter: bhulse <bhulse>
Component: JSPAssignee: Anton Chechel <manowar>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description bhulse 2011-02-16 21:45:10 UTC
Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102140001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_23
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.0-b09

In 6.9, the following entry would resolve through web.xml to resolve the tld file location:
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>

using the following web.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" 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">
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>
    <jsp-config>
        <taglib>
            <taglib-uri>http://www.ptc.com/infoengine/taglib/core</taglib-uri>
            <taglib-location>/WEB-INF/infoengine-core.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>http://www.ptc.com/infoengine/taglib/directory</taglib-uri>
            <taglib-location>/WEB-INF/infoengine-directory.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>http://www.ptc.com/windchill/taglib/util</taglib-uri>
            <taglib-location>/WEB-INF/util.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>http://www.ptc.com/infoengine/taglib/log</taglib-uri>
            <taglib-location>/WEB-INF/log.tld</taglib-location>
        </taglib>
    </jsp-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
</web-app>

In 7.0 beta 2, this generates the "the absolute URI cannot be resolved in either web.xml or the jar files deployed with the application" error
Comment 1 Anton Chechel 2011-03-28 13:02:13 UTC

*** This bug has been marked as a duplicate of bug 192308 ***