From my hosted web-app, I would like to execute a .exe file, which is stored in my web-app folder.
According to the Java EE specification, access to the underlying file-system is not supported (although in actual fact most app servers will allow this to proceed).
How about executing an operating system level process, for a file that's hosted in the web-app folder? Is this officially supported?
//Legal with in app-server context?
Process process =
new ProcessBuilder("C:\\PathToExe\\InWebApp\\MyExe.exe","param1","param2").start();