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 - JSP Editing: 6.9 would resolve taglib uris through the web.xml; 7.0 beta 2 does not
Summary: JSP Editing: 6.9 would resolve taglib uris through the web.xml; 7.0 beta 2 do...
Status: RESOLVED DUPLICATE of bug 192308
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 21:45 UTC by bhulse
Modified: 2011-03-28 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***