I'm working in an application than will let the user open a word
document from the server, edit and save it to the server without making an upload.
I have been searching for few days and found several solutions but all of them require some changes on client machines. I'm using webdav for this.
The direct solution (set a direct link to the file) opens the document inside the browser (if i open it in IE) and users want to open it outside the browser, using Word. To solve this, the only solution i have found is to change in every client machine the configuration for doc
files in the windows explorer. Is that true?
The other problem with the direct link (coming from firefox or IE) is that when it opens, it's read-only file. The solution, again, is in the client side, adding some code at the windows registry to allow office to open web-documents to open as read-write (solution from microsoft
Another solution is activeX. Setting this in my jsp
will open the file outside the browser and read-write but requires the user to use IE and the security (in the client side) must be set to allow scripting ActiveX components that are not marked as safe for scripting.
Finally, from java
, something that seems not to be a solution. If i set this as the response:
where buf is a byte with the file comming from the DB. The result is that word is open with the read-write document, but it points to the local temporal IE folder to a file witn the name http___localhost_8080_myApp_documents_myDoc.doc
Do you know any way to edit this doc file
without any change in client machine?
Thanks and sorry for my english.