直接打开:http://127.0.0.1/index.html也不行。

解决方案 »

  1.   

    你的tomcat重启没,改动配置后要将jsp容器重启才生效;
    或者你装IIS了,结果80让人家给占了;
    再或者你改到别的目录试试;
    实在不行,重装TOMCAT!
      

  2.   

    对了,再ping 一下localhost 即127.0.0.1是否有用。
      

  3.   

    appBase="C:\Tomcat5\JSPBook" 
    应该是这个的问题,楼主碰见的问题我也碰见过,很奇怪
    所不同的是我用的是linux的系统,总提示我找不到servlet路径
    但只要改回到tomcat下的webapps路径下又可以了
      

  4.   

    对呀,如果我把appBase="C:\Tomcat5\JSPBook" 改为默认的appBase="webapps" 就一切正常了。我每次更新都会重启Tomcat的。
      

  5.   

    他的webapp已经写死了啊
    <context path="" docBase="d:\"……
    ……
    你这样试一试
      

  6.   

    <Service name="ServiceDefineByRiver">
        <Connector port="9001" minProcessors="5" maxProcessors="75"
         enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="-1"/>
        <Engine name="EngineDefineByRiver" defaultHost="localhost" debug="0">
          <Host name="localhost" debug="0" appBase="F:\Site_River" 
           unpackWARs="true" autoDeploy="true">
            <Context path="" docBase="" debug="0"
                     reloadable="true" crossContext="true">
              <Logger className="org.apache.catalina.logger.FileLogger" directory="LogDefineByDigitalTitan" prefix="LogDefineByDigitalTitan." suffix=".txt"
               timestamp="true"/>
            </Context>
          </Host>
        </Engine>
      </Service>