Thank you again Joaquin -- it worked fine. However, as you suggested in a prior posting, the applet is still having problems loading some programs. Do you have any links for code that I can re-work to get around this problem?
No unfortunately not.
I
imagine that I would need to re-write the OOoBeanViewer with a new class loader.
In the applet tag of the html page you could pass the office location as parameter. Your classloader could then use this to build the URL to all needed jars in <office>/program/classes. These are typically
officebean.jar
jurt.jar
ridl.jar
unoil.jar
java_uno.jar
juh.jar



I can tell you that I re-directed the Apache server to the openoffice folder via an alias and I can confirm that the redirection is working. In the Linux server, I can run the applet successfully if I navigate FireFox to the applet html page via File Open. On the other hand, if I navigate FireFox to the same html via http://localhost or https://localhost I get a "java.lang.ClassFormatError: Truncated class file" exception. I get the same exception if I navigate my PC's Iternet Explorer to the server applet.
This looks like a corrupted class file. This looks more like a problem of the webserver, than a programming issue.

Joachim

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


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

Reply via email to