I have code in the Applet as follows.
URL userConfig = new URL("http", myserver, 7011, "/mypath/"+
"userconfig.xml");
org.apache.fop.apps.Options options = new
org.apache.fop.apps.Options( userConfig.openStream());
"myserver" is running on a completely different machine. When this run in
the applet, FOP throws the following exception
org.apache.fop.apps.FOPException: can't find default configuration file
at org.apache.fop.apps.Options.loadStandardConfiguration(Options.java:184)
at org.apache.fop.apps.Options.<init>(Options.java:73)
at org.apache.fop.apps.Options.<init>(Options.java:78)
at PrintApplet.callMeSucker(PrintApplet.java:168)
However when I run the server on my local machine and run the same code as
follows it works fine.
URL userConfig = new URL("http", "localhost", 7011, "/mypath/"+
"userconfig.xml");
org.apache.fop.apps.Options options = new
org.apache.fop.apps.Options( userConfig.openStream());
I checked the link using the http://myserver:7011/mypath/userconfig.xml and
I could retrieve the file in IE.
Whats happening?
Thanks
Manoj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]