title: how to stop Eclipse browser from displaying web page upon restarting tomcat?
body: <p>The old eclipse bug which is very annoying for me.</p>
  
  <p>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: </p>
  
  <p>Script Error: An error has occurred in the script on this page </p>
  
  <p>Line: 1</p>
  
  <p>Char: 1</p>
  
  <p>Error: Unspecified error</p>
  
  <p>URL: about:blank</p>
  
  <p>Do you want to continue running scripts on this page?</p>
  
  <p>Yes No</p>
  
  <p>The problem is that application hangs plus the window is inactive and I can't make this window active. </p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>The help could be either in:</p>
  
  <ol>
  <li><p>how to forbid eclipse showing browser window tab when web application is redeployed?</p></li>
  <li><p>or how to fix this error?</p></li>
  </ol>
  
  <p>Thank You guys,</p>