On Fri, Jan 4, 2013 at 3:39 PM, ana kando <anaka...@yahoo.com> wrote:

> 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.


The default app is under /ROOT directory so delete/rename it if you want to
get read of it. By the way, what do you expect to see when going to
http://localhost:8080/ in that case? Instead of the default page you'll see
404 error page not found. Is that what you want?

Reply via email to