区别在于一个是调用Applet的方法,一个是调用JVM外部的另一个可执行程序下面这段的程序代码不能把uRL的session带进去,因为它是对JVM外部的可执行程序调用,和JVM没有任何关系。

解决方案 »

  1.   

    非常感谢楼上的两位大虾的解说,但是如何使我JFrame的方法实现上面Applet中的代码的功能啊??感谢!!
      

  2.   

    其中URL的值为:
    http://scxfzd-web/stsrc.nsf/join?openForm&mid=1079248867459&toktype=1&tok=(9C6377AA1D6FECA03DD9B40A953EDC8E)&port=8081&ismgr=1&uname=CN%26%2361%3Badmin%26%2347%3BO%26%2361%3Bscxfzd为什么打开用Runtime.getRuntime().exec("cmd /c start " + uRL);的方式打开IE浏览器里却没有带后面的参数呢??只出现:
    http://scxfzd-web/stsrc.nsf/join?openForm
      

  3.   

    老兄在搞Lotus开发,我们已经放弃了!太难受了!
      

  4.   

    我们老大在要我交东西呢!!没有办法啊!现在是用JAVA开发lotus 的sametime.
      

  5.   

    you've opened two processes in the second way, while one processes(thread?) in the first way! that likes unix's fork function!You should check out what the "start" means. Means a thread or a new process!Good luck! and don't forget to put your solution here!
      

  6.   

    hi hiking,
    Thanks a lot's!
      

  7.   

    为什么打开用Runtime.getRuntime().exec("cmd /c start " + uRL);的方式打开IE浏览器里却没有带后面的参数呢??只出现:
    http://scxfzd-web/stsrc.nsf/join?openForm
    需要转义
    这个问题我在另一个贴子
    http://expert.csdn.net/Expert/topic/2863/2863015.xml?temp=.8032495
    已经回打过了!
      

  8.   

    我听说一个方法。但是没有用过,在applet的文件中加入public void main(String args[])
    在这里面用frame试试看