Hi,
We have a java code which executes an .exe file from the command prompt[given below].Can someone please guide us in writing the jsp code for executing an .exe file. We are trying to call the .exe file from an html page[we have already tried giving the path directly in 'href' but its not working].Thanx..
public class np {
public static void main(String[] args) {
Runtime rt = Runtime.getRuntime();
try {
rt.exec("E:/project/softwares/eclipse/eclipse.exe");
}
catch (IOException ioe) {
ioe.printStackTrace();
}
}
}