修改conf目录下的server.xml和web.xml
打开就看到了
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>

解决方案 »

  1.   

    那这个些index.html和index.jsp在哪个目录?
    假如我的目录是webapps下的mywork
    改怎么该?
      

  2.   

    为什么我的TOMCAT没有TOMCAT.BAT这个东西呢,启动不起来呀
      

  3.   

    在tomcat\webapp\ROOT下
    在conf下的erver.xml和web.xml可以修改很多东西。端口号好像也在那里修改。to shuangyulove(双宇) startup.bat启动服务。不过你要先Build,这个就比较麻烦了。
      

  4.   

    纠正:
    在conf下的server.xml和web.xml可以修改很多东西。端口号好像也在那里修改。
      

  5.   

    全部都在SERVER.XML中,可以通过查找找到[welcome-file]修改默认页
    可以查找找到[PORT]修改8080端口OVER!
      

  6.   

    1.      
    用记事本打开Tomcat4目录下的子目录conf下的server.xml文件,增加这样一行(假设你现在要把D:\myroot下的东西作为默认根目录)
      <Context path="" docBase="D:\myroot" debug="0" reloadable="true"></Context>2.改端口号,将8080改成80:
    用记事本打开Tomcat4目录下的子目录conf下的server.xml文件,把这下面一段配置参数的8080改为80保存即可。
        <Connector className="org.apache.catalina.connector.http.HttpConnector"
                  port="8080" minProcessors="5" maxProcessors="75"
                  enableLookups="true" redirectPort="8443"
                  acceptCount="10" debug="0" connectionTimeout="60000"/>
      

  7.   

    回复shuangyulove(双宇)
    tomcat是没有什么tomcat.bat的
    启动用.\bin下的startup
    关闭用shutdown
      

  8.   

    十分谢谢,由此我解决了我的问题。
    但是,*.class 应放置在哪里呢?