Runtime.getRuntime().exec()应用程序打开IE浏览器的问题!!
我用下面的代码是在APPLICATION中打开IE
try
{
Runtime.getRuntime().exec("start " + surl);
// System.out.println("Exception !!!!!!");
}
catch(Exception er)
{
try
{
Runtime.getRuntime().exec("cmd /c \"start " + surl +"\"");
}
catch(Exception err)
{
err.printStackTrace();
}
}
其中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
为什么打开的的IE的浏览器里却没有带后面的参数呢??只出现:
http://scxfzd-web/stsrc.nsf/join?openForm
谁能告诉我啊??/
非常感谢!!