开发者

Open URL in IE using Java's Desktop class

The Desktop class opens a URL in the user's default browser when using the open() meth开发者_如何学JAVAod. How can a URL be opened in IE even when IE is not the default browser?

Edit: Solutions do not have to use the Desktop class. I was using that as an example.


Try invoking, in System.exec() iexplore.exe 'http://my.url', which is the name of Internet explorer executable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜