Hello
I am trying the following problem:
A web app in jsp and java has to open a microsoft word document directly in the browser. This part is easy and i have done it.
The user then can modify the word document.
If the user 'save' the document (using the Save button of the MS tool bar in the browser) the application has to 'save as' the document on the server, not over writing the openned file but creating a new one.
I have just found documentation as how to do this in vbscript (http://www.daniweb.com/tutorials/tutorial51307.html and http://msdn.microsoft.com/msdnmag/issues/01/02/web/), but i am not sure if this vbscript can be ejecuted in a jsp server. And, primarily, i´d prefer to do it using Java-Javascript.
My basic idea was to add an unload event in the word page and then post the word content to a servlet and there to write it to a new file. The problem is that the opened word is not a jsp page and so it hasn´t events (unload, load, deactivate,...) and i don´t know how to approach this problem.
Any guides or ideas as to how to aproach it are welcome!!!