How to i make a JSP page invoke a standalone java program.
thanks in advance
Do you mean you want it to execute a program with the program's main method?
No not really...I just want to execute a batch file from a JSP page. Somebody pointed me to java.lang.Runtime.getRuntime().exec(s) ;
But i dont know what exactly to put in the string s. Its a pretty tricky method.
help is appreciated.
try reading this informative article about using Runtime.exec():