title: How to call batch file in deployment environment?
body: <p>I am trying to call batch file from java web application using</p>
  
  <pre><code>    ProcessBuilder pb = new ProcessBuilder("D:/doctemp/convert.bat");
      Process p = pb.start();
  </code></pre>
  
  <p>It works fine when I run application using Netbeans. But when I deploy my application in tomcat batch file does't call.
  Can anyone suggest what the problem is?</p>