如何从在重新启动Tomcat的显示网页停止Eclipse的浏览器吗? [英] how to stop Eclipse browser from displaying web page upon restarting tomcat?
问题描述
老月食错误,这是非常讨厌我。
The old eclipse bug which is very annoying for me.
的情况:我停止Tomcat服务器=>运行Web应用程序再次=>获得浏览器窗口。问题是,在重新部署过程完成本身,在此之前更早显示的浏览器窗口,所以每当我试图关闭浏览器窗口(因为我preFER标准的浏览器中打开Web应用程序,因为本机延迟非常明显,慢),在这短短的间隔,我用的Eclipse错误消息窗口挂起:
The situation: I stop tomcat server => run web application again => get browser window. The problem is that browser window is displayed earlier before the redeployment process finishes itself, so whenever I try to close the browser window(since I prefer to open web application in standard browser since the native is laggy and slow) in that short interval, my Eclipse hangs with error message window:
脚本错误:出现了一个错误在脚本中此页上
Script Error: An error has occurred in the script on this page
行:1。
字符:1
错误:未指定的错误
网址:关于:空白
是否要继续在此页上运行脚本?
Do you want to continue running scripts on this page?
是否
问题是,应用程序挂起加上窗口处于非活动状态,我不能让这个窗口活动。
The problem is that application hangs plus the window is inactive and I can't make this window active.
要解决这个问题我必须手动结束进程和关闭Tomcat的上.BAT。当你每天重复这个10倍左右,这是非常烦人的。
To fix this I have to end the process and shutdown tomcat manually on .bat. This is very annoying when you repeat this around ten times a day.
如果我等到应用程序是完全重新部署,但我工作快习惯,所以最终我重新部署之前,再次关闭窗口它不发生的。
It doesnt happen if I wait till the application is completely redeployed, but I have habit of working fast, so eventually I close the window again before redeployment.
帮助可以是在:
-
如何在Web应用程序重新部署禁止日食表现浏览器窗口标签?
how to forbid eclipse showing browser window tab when web application is redeployed?
或如何解决这个问题?
感谢你们,
推荐答案
茄子,我有同样的经历,你。这里有一个答案选择外部浏览器:
Aubergine, I've had the same experience as you. Here's one answer for selecting the external browser:
您可以选择其他浏览器作为默认通过在Eclipse改变preferences。选择Window> preferences>常规> Web浏览器。现在,选择选项使用外部Web浏览器,并勾选你在下面的框中使用的浏览器。
You can choose another browser as your default by changing preferences in Eclipse. Select Window > Preferences > General > Web Browser. Now choose the option "Use External Web Browser", and check the checkbox for the browser you use in the box below.
这篇关于如何从在重新启动Tomcat的显示网页停止Eclipse的浏览器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!