server.xml中
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080"
               minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" disableUploadTimeout="true" />
将port="8080"改为port="80"

解决方案 »

  1.   

    server.xml中
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
                   port="8080"
                   minProcessors="5" maxProcessors="75"
                   enableLookups="true" redirectPort="8443"
                   acceptCount="100" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" disableUploadTimeout="true" />
    将port="8080"改为port="80"
      

  2.   

    xiaohuasz(),谢谢你,我照你的方法做了,但要在浏览器中输入http://localhost/a.jsp后才会执行a.jsp,我的意思是说直接输入http://localhost就可以访问a.jsp
      

  3.   

    在web.xml加上
    <welcome-file-list>
        <welcome-file>a.jsp</welcome-file>
      </welcome-file-list>
      

  4.   

    在web.xml中 
    <welcome-file-list>
            <welcome-file>a.jsp</welcome-file>
    </welcome-file-list>
      

  5.   

    结合大家的。
    server.xml中
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
                   port="80"
                   minProcessors="5" maxProcessors="75"
                   enableLookups="true" redirectPort="8443"
                   acceptCount="100" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" disableUploadTimeout="true" />
    <welcome-file-list>
            <welcome-file>a.jsp</welcome-file>
    </welcome-file-list>
    呵呵。改80是用IE的端口,加<welcome-file>是定义了你的默认页面
      

  6.   

    把a.jsp改成index.jsp就可以了,这是默认的加载页面
    或者就用楼上的方法,添加默认加载页面
      

  7.   

    恩 改index.jsp最好 不要改80端口