|
Hi all
i need to
execute an external program from within a Servlet
and i try
this code:
private void Instradamento() {
try { NPL_Parametri par= new NPL_Parametri(); String[]
command = {"Instradamento.exe "+par.Username +"/"+par.Password+"@"+par.Host+"
"+progetto+" S
"+tipocirc+" "+servizio+" "+cliente+" "+sedeo+" "+seded+"
"+codtask};
Process p = Runtime.getRuntime().exec(command); } catch (Exception
e) {
context.log( e.toString() );} }
but i receive this
error:
java.io.IOException:
CreateProcess: START.BAT error=2
I don't understand what
means error=2
can you help me ?
Thanks
|
- Execute an external program, Sam
- Re: Execute an external program, karthikeyan
- Re: Execute an external program, Andrea
- Re: Execute an external program, Nicolas Valaye
