Bug 73026

Summary: TLD autodetect does not work for JSP
Product: [Eclipse Project] JDT Reporter: George Korosy <g.korosy>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: minor    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description George Korosy CLA 2004-09-01 02:20:04 EDT
This opening line one a jsp page:

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

generates a compilation error:

JSP Parsing Error:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be
resolved in either web.xml or the jar files deployed with this application

The error message is incorrect, because 'standard.jar' is properly deployed
under /WEB-INF/lib and is being specified under 'Libraries' for the project's
Java Build Path. (As far as web.xml is concerned, however, the message is
correct because there is no reference there for tag libraries.)

In spite of the compilation error, the project builds and runs correctly, thanks
to the tld autodetect mechanism as implemented in both Tomcat 4 and 5.
Comment 1 Jerome Lanneluc CLA 2004-09-01 04:34:49 EDT
The Eclipse SDK doesn't include a jsp compiler. You must have a third party 
plugin that includes a jsp compiler. Please report this problem to the author 
of this plugin.