| Author |
NEWBIE: JSP Taglib Problem
|
Nathan Johnson
Ranch Hand
Joined: Feb 18, 2002
Posts: 32
|
|
I am trying to write my first Custom TagLib, however when I point my browser to the jsp file that uses the TagLib I get this error message: : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/dtd/web-jsptaglibrary_1.2.dtd". and then it forces me to go online to net even with Tomcat(3.3a) running. Here is the part of the TLD file that calls this, <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1.2.dtd"> from what I understand this required for all JSP 1.2 TLD files! I would be most grateful if someone would kindly explain what is happening here!
|
 |
Carl Trusiak
Sheriff
Joined: Jun 13, 2000
Posts: 3340
|
|
|
Yes, the DTD is required for each JSP 1.2 Tag-lib you write. But, you also need a server that can handle JSP 1.2. Tomcat 3.3 is for JSP 1.1. You need Tomcat 4.0.x to run JSP 1.2.
|
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
|
 |
Nathan Johnson
Ranch Hand
Joined: Feb 18, 2002
Posts: 32
|
|
Thanks Carl! That explains that! I'll download and install Tomcat 4.0 later! Hopefully uninstalling Tomcat 3.3a will be as easy as the installation! Many thanks once again! Nathan!
|
 |
Nathan Johnson
Ranch Hand
Joined: Feb 18, 2002
Posts: 32
|
|
Thanks Carl! That worked!
|
 |
 |
|
|
subject: NEWBIE: JSP Taglib Problem
|
|
|