Joseph Bashir wrote: > Hi > > I am trying to load openoffice in applet and view it in web browser (IE, > Mozilla Firefox etc.). When I run the applet in appletviewer > (as appletviewer MyApplet.html) with the below code in the MyApplet.html > file, it runs fine. > > <APPLET code="MyApplet.class" > archive="officebean.jar,ridl.jar,unoil.jar,juh.jar" width="700" height="500"> > </APPLET> > > But when I try to view it in browser (IE or Mozilla) it give this error. > Does anybody know what and where is the mistake and how to get out of it?
You can't access arbitrary jar files from the file system in the browser context. You need your own classloader for loading OOo into a browser applet. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
