Jim Redman <[EMAIL PROTECTED]> writes:
> Daniel,
>
> On 2002.06.10 16:14 Daniel Rall wrote:
>
>> protected String getProperty(String name, String defaultValue)
>> {
>> try
>> {
>> return System.getProperty(name);
>> }
>> catch (SecurityException useDefault)
>> {
>> return defaultValue;
>> }
>> }
>
> Will still print to the IE console (that's my recollection at least).
I don't see how that's possible -- the Exception was caught and
handled (assuming that's the right exception type). Does IE's JVM not
implement the Java specification?
> The xmlrpc code looks, for example, like this:
>
> if (parserClass == null)
> {
> // try to get the name of the SAX driver from the System
> properties
> // setDriver (System.getProperty (
> // "sax.driver",
> "org.apache.xerces.parsers.SAXParser"));
> setDriver (System.getProperty (
> "sax.driver", "uk.co.wilson.xml.MinML"));
> }
>
> So that you can set the parserClass and so avoid the getProperty.
The setDriver() method was the one I was thinking about. Yeah, you
can definitely do that. Seems like we have several applet users
about.