Hi I have managed to sortout the loadComponenetFromURL by using the Tomcat that is running on machine B (where the java client is running) now i am facing the problem of doing xstorable.storeToURL Again, the same problem of loadComponenet applies, what sort of URL can i give in order to "upload" the document back from machine A (where openoffice is running) to machine B (where i am running Tomcat and the Java Client) ?
Thanks David D David Dankwerth wrote: >Hi > >I have a little problem with loadComponentFromURL. > >I am running openoffice on server A listening on port 8100, the java >client running on machine B >connects to the openoffice server, no problem there (following the >FirstConnection example) > >Now I want to load a file from the Client hard-disk. >I am using >Object o objectDocumentToStore = >xcomponentloader.loadComponentFromURL(stringUrl, "_blank", 0, >propertyvalue ); > >and the object i get is NULL, which means that it failed to load. >I assume that it failed because server A cant "see" the url which is a >file:/... on server B. > >Anyway i can load a document on the client machine to the server machine >and >get back the XComponent and then the XStorable ? > >Thanks >David D > > >________________________________________________________________________ >This e-mail and its attachments are confidential. If you are not the intended >recipient of this e-mail message, please telephone or e-mail us immediately, >delete this message from your system and do not read, copy, distribute, >disclose or otherwise use this e-mail message and any attachments. > >Although ri3k believes this e-mail and any attachments to be free of any virus >or other defect which may affect your computer, it is the responsibility of >the recipient to ensure that it is virus free and ri3k does not accept any >responsibility for any loss or damage in any way from its use. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > ________________________________________________________________________ This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although ri3k believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k does not accept any responsibility for any loss or damage in any way from its use. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
