I had similar errors when moving from Tomcat 3 to 4. It may have to do with
the declaration of the DTD at the top of your .tld. I found that I had to
change it to 1.2, and change all tags in the taglib descriptor to their new
form

ie <tagclass> becomes <tag-class>

maybe that helps

-----Original Message-----
From: Kroeksak Kongman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 3:32 AM
To: [EMAIL PROTECTED]
Subject: Install Tomcat 4.0 + JDK 1.4.


Dear All,
 
          1. I'm install Tomcat 4.0 + JDK 1.4. I can run some jsp file
but XML have some error..
 
(.tld and jsp file, it can run in old version ...Tomcat 3.2.3 & JDK 1.3.2)
 
          2. I can use javac to complie .java ot .class when I call
HelloWorld.calss from IE 6.0, 
it open window File Download ...for save this file to disk...it not work..
 
Please would you hep me for solve this problem..
 
Best Regards,
Kroeksak Kongman
 
(This can run in old version ...Tomcat 3.2.3 & JDK 1.3.2)
Result:
 
 
org.apache.jasper.JasperException: XML parsing error on file
/WEB-INF/jsp/taglib.tld: (line 2, col 7): The XML declaration may only
appear at the very beginning of the document.
at
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:218)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja
va:283)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:219)

Reply via email to