when i started tomcat container i am curious when we given `http://localhost:8080` in browser.为什么它被定向到tomcat安装文件夹到它的公共根目录。告诉C:\apache-tomcat-6.0.35\webapps\ROOT
。这里的localhost是服务器名。一些tomcat是如何注册为名为localhost的服务器的。
我正在尝试设置tomcat (v7.0.11)和eclipse (v3.6.1),以便在eclipse中调试JSP页面。然而,当我尝试访问时(在通过eclipse启动tomcat之后),我仍然得到一个404错误。当我在eclipse中启动tomcat时,我在控制台中看到几个警告,但没有错误:
Mar 30, 2011 8:10:23 AM org.apache.tomcat.util.digester.SetPropertiesRuleMar 30, 2011 8:10:23 AM org.apache.tomca