我在jsp。
中使用“Runtime.getRuntime()。exec”方法源代码......
进程p = Runtime.getRuntime()。exec(“python”+ parsing_path +“make.py”+ savePath +“”+ newFile);
p.waitFor();
但是,此命令大约需要几分钟或几小时。
所以我想显示进度状态。
等等 1. http://365psd.com/wp-content/uploads/2012/10/Progress_Bar_preview.png