1. the old XML parser was probably more lenient. The syntax in the XML
sounds wrong, something before the <?xml ?> tag I guess

2. did you expect anything else? You are trying to serve the class file as
content, you should place it under WEB-INF/classes and then setup web.xml.
You should read some of the Tomcat documentation on how to construct a web
application.

Regards,
Brett

-----Original Message-----
From: Kroeksak Kongman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 24 April 2002 5:32 PM
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