I am developing a small JSP page that just runs a exe file and passes a argument to it.
This only works on Windows but if that doesn't bother you this is a nice solution:
Runtime.getRuntime().exec("cmd.exe /C start c:/your/program.exe parameter");
This only works on Windows but if that doesn't bother you this is a nice solution:
Runtime.getRuntime().exec("cmd.exe /C start c:/your/program.exe parameter");
Avtor: Anonymous, objavljeno na portalu SloDug.si (Arhiv)