Eclipse:选择在服务器上运行不会启动 Firefox,它会启动 Eclipse 的内部浏览器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9215622/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:41:45  来源:igfitidea点击:

Eclipse: Choosing Run on Server doesn't launch Firefox, it launches Eclipse's internal browser

eclipseweb-applicationsbrowserideaptana

提问by Martin

I am new to Eclipse and I have created a small web app and it works but when I do Run on Server (Tomcat) from Eclipse it launches the website in its own internal web browser.

我是 Eclipse 的新手,我创建了一个小型 Web 应用程序并且它可以工作,但是当我从 Eclipse 在服务器(Tomcat)上运行时,它会在自己的内部 Web 浏览器中启动该网站。

I wondered if it was possible to have it launch Firefox for example?

我想知道是否可以让它启动 Firefox?

Do I need to download Aptana?

我需要下载 Aptana 吗?

回答by JB Nizet

I would just enter the URL in your preferred browser, and bookmark it. As simple as that. You'll have to do it with different browsers anyway if you want to test the app on multiple browsers.

我只想在您首选的浏览器中输入 URL,并将其添加为书签。就如此容易。如果您想在多个浏览器上测试应用程序,无论如何您都必须使用不同的浏览器来完成。

You can also choose which browser is used by going to Window - Preferences - General - Web Browser.

您还可以通过转到“窗口”-“首选项”-“常规”-“Web 浏览器”来选择使用哪个浏览器。

回答by palak gautam

yes if u want your application to get started on firefox ..Go to window tab at the top of your eclipse IDE from there preferences and the go to general from there select browsers

是的,如果您希望您的应用程序在 firefox 上开始使用 ..从那里的首选项转到 eclipse IDE 顶部的窗口选项卡,然后从那里转到一般选择浏览器

check radio button of use external web browser and select the browser u want firefox or IE..

检查使用外部网络浏览器的单选按钮并选择您想要的浏览器 Firefox 或 IE ..