Simple way to start a program in JSP

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");
Avtor: Anonymous, objavljeno na portalu SloDug.si (Arhiv)

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.