Bug 73026 - TLD autodetect does not work for JSP
Summary: TLD autodetect does not work for JSP
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: 3.1 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 02:20 EDT by George Korosy CLA
Modified: 2004-09-01 04:34 EDT (History)
0 users

See Also:


Attachments

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