aspose file tools
The moose likes JSP and the fly likes NEWBIE: JSP Taglib Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "NEWBIE: JSP Taglib Problem" Watch "NEWBIE: JSP Taglib Problem" New topic
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!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: NEWBIE: JSP Taglib Problem
 
Similar Threads
Using custom tag with JBuilder 6
using custom tags & tag handler class - URGENT
How portable are Custom Tag Libraries?
STEP-BY-STEP creating a WAR file
new to JSTL