Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tag libary problem - http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd

843835Jun 4 2003 — edited Jun 6 2003
Hi,
im having trouble getting a very simple taglibary working.

Here is the error im getting for the browser:
org.apache.jasper.compiler.CompileException: C:\jakarta-tomcat-3.3a\webapps\taglib\time.jsp(0,0) Unable to open taglibrary WEB-INF/exampleTags.tld : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd".

The line at the top of my tld is:
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">

The line at the top of my web.xml is:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

When i entered the URL's for the DTD's in a browswer they are found. I tried changing these and i got my JSP working with the above lines. I then made a change in the TLD file adding 1 more tag to the TLD. It then brought back the error i had before. So I have undone the changes so that im back at the code that was working, that doesn't work now, I have tried changing the URL's again like i did before, but i cant get it working.

Can someone please help, thanks Dale
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2003
Added on Jun 4 2003
6 comments
1,096 views