facebook

Why myEclipse complains about taglib.

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #199215 Reply

    daisywinn
    Member

    I downloaded SUN’s Java Web Services Development Package (JWSDP 1.2) and created a project cardemo, which I copied the Sun Cardemo sample to it. The compilation went through with lots of errors:

    “bad relative URL in web.xml: taglib-location = http://java.sun.com/jsf/html”. When I double clicked

    The error actually points to this line of code:

    <%@ taglib uri=”http://java.sun.com/jsf/html&#8221; prefix=”h” %>

    Does anyone understand why the above line is erred? I have looked at the taglib syntax and could not figure out why myEclipse complains about?

    Thanks for any help?

    #199229 Reply

    Scott Anderson
    Participant

    Does anyone understand why the above line is erred? I have looked at the taglib syntax and could not figure out why myEclipse complains about?

    The problem is caused because a URI is not a URL. According to the spec, it should be a local reference, not a web reference. However, since most of the servers, as well as Sun itself, doesn’t seem to adhere to this restriction, we’ll be loosening our spec compliance in order to accommodate these constructs in the 2.6.3 release of Enterprise Workbench. It should be available by Monday at the latest.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Why myEclipse complains about taglib.

You must be logged in to post in the forum log in