jsp如果能调用COM组件中的方法,那他的跨平台性就不能被很好的发挥了,你认为呢?

解决方案 »

  1.   

    补充:
     看看这篇文章,也许对你有帮助,理解这个问题!谢谢! http://www.pconline.com.cn/pcedu/empolder/wz/jsp/10112/24589_1.html
      

  2.   

    php手册的例子// starting word
    $word = new COM("word.application") or die("Unable to instanciate Word");
    print "Loaded Word, version {$word->Version}\n";//bring it to front
    $word->Visible = 1;//open an empty document
    $word->Documents->Add();//do some weird stuff
    $word->Selection->TypeText("This is a test...");
    $word->Documents[1]->SaveAs("Useless test.doc");//closing word
    $word->Quit();//free the object
    $word->Release();
    $word = null;
      

  3.   

    可以调的,下载一个jacob就可以!