We have a browser based application that integrates the webdav server. We create URLs for certain documents on our surf (webdav). ( https://server.com/webdav/path/to/file.doc )
What we are looking for is a good way for our customers to open these links directly in the appropriate program. I.E. for a Windows user, " https://server.com/webdav/path/to/excelfile.xls " should open in MS Excel, while the same link should open OOCalc on Linux.
So far, we have used a small applet that has extensions, OS and programs and opens the program through Runtime.getRuntime().exec(..) . This approach works pretty well on Ms-Windows, but is problematic for Linux and Mac clients, and also quite inflexible.
Is there a better way to do this?
source share