tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ana kando <anaka...@yahoo.com>
Subject Remove apache tomcat default home page
Date Fri, 04 Jan 2013 04:39:10 GMT
Hi all,

I just installed a software that bundled with apache tomcat. I successfully installed the
software and can run the software at http://localhost:8080/myapps/

However, when i remove /myapps from browser, it will go directly to apache tomcat default
page. Cau you help me to remove this page from being display when i go to http://localhost:8080/
??

Here is my tomcat version and operating system spec.


Apache Tomcat 5.5.20
windows server 64 bit


I found an article from somewhere in the world to commented out these line at file tomcat/conf/web.xml


<servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jsp</servlet-name>
        <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>

<welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>


I also have commented out this line from file tomcat/webapps/root/WEB-INF/web.xml

<welcome-file-list>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>

But still not working. Tomcat default page still there.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message