hi how do I call Perl SCript from JSP
I tried this but didnt worked...
String a = "/opt/bin/symlink\r";
String b= "crypto/readme.txt";
String c= "\rEND\r";
String[] cmd = new String[] {a,b,c};
if(cmd != null){
Process p = Runtime.getRuntime().exec(a);
....
When I type string a, b and c on commandline it works. why not in jSP ?
I tried this but didnt worked...
String a = "/opt/bin/symlink\r";
String b= "crypto/readme.txt";
String c= "\rEND\r";
String[] cmd = new String[] {a,b,c};
if(cmd != null){
Process p = Runtime.getRuntime().exec(a);
....
When I type string a, b and c on commandline it works. why not in jSP ?