try{
            Runtime ce=Runtime.getRuntime();
            ce.exec("c:\oracle\bin\exp.cmd");
         }
      catch(Exception ex){}

解决方案 »

  1.   

    try{
                Runtime ce=Runtime.getRuntime();
                ce.exec("exp a/a@a  file=date.dmp  full=y;");
             }
          catch(Exception ex){}是不是能运行
      

  2.   

    exec只能运行一些可执行文件,date.dmp不是可执行文件
      

  3.   

    我现在只要实现用jsp能备份oracle数据,各位还有什么高见,学习一下!