Weiming Zhang wrote:

There are two ways to specify the SAX2 parser Batik should use.
The first, which I think most people use is to provide the resource
file:org/apache/batik/util/resources/XMLResourceDescriptor.properties
which should have the following two properties:

How to add the new properties file to the class path? I thought class
path is for class files and jar files. Is there a way to specify it in
the applet html file? All of my jar files are in public_html/Viewer
directory and mentioned in the applet html file.

You can just add the file to one of your jar files like the main applet jar file (Assuming that comes first).

There are actually three ways, you can also provide an batik.swing.svg.SVGUserAgent (there are adapters) which has a method:

getXMLParserClassName().

Also I should change the first line to:
org.xml.sax.driver = org.apache.crimson.parser.XMLReaderImpl, right?
Just want to make sure.

Yes.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to