tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guojun Zhu" <zgg...@gmail.com>
Subject Re: How to change Default URL to point to my application index.html page
Date Sun, 17 Aug 2008 22:33:15 GMT
I am sorry.  If there is no ROOT.xml, Tomcat will use the default and you
just need to do as Ken said.  Or you can create the ROOT.xml in the
$Catalina.home/conf/Catalina/(your host)/ROOT.xml.  Put <Context path=""
docBase="${catalina.home}/webapps/(your application path)"/> in the file.


On Sun, Aug 17, 2008 at 2:12 PM, flytoarun <flytoarun@yahoo.com> wrote:

> Hi Guojun,
>
> I have 2 files under path
> /apache-tomcat-5.5.25/conf/Catalina/localhost
> host-manager.xml
> manager.xml
>
> i don't have ROOT.xml.
>
>
>
>
> --- On Mon, 8/18/08, Guojun Zhu <zggame@gmail.com> wrote:
>
> > From: Guojun Zhu <zggame@gmail.com>
> > Subject: Re: How to change Default URL to point to my application
> index.html page
> > To: "Tomcat Users List" <users@tomcat.apache.org>, flytoarun@yahoo.com
> > Date: Monday, August 18, 2008, 12:31 AM
> > you can change the $Catalina.home/conf/Catalina/(your
> > host)/ROOT.xml file to
> > direct to your webapp path instead of the ROOT.
> >
> > On Sun, Aug 17, 2008 at 1:36 PM, flytoarun
> > <flytoarun@yahoo.com> wrote:
> >
> > > Hi All,
> > >
> > > I am using tomcat 5 version and my application's
> > default page is
> > > www.domain.com\myDir\index.html which works
> > fine when i enter full path
> > > however when i enter www.domain.com then the tomcat
> > default server page
> > > opens. I want to change this default page by my
> > application index.html
> > > (Default page).
> > >
> > > Can some one help me.
> > >
> > > I have tried few things but didn't work. Like
> > adding entries in server.xml
> > > and web.xml
> > >
> > > Thanks in advance.
> > >
> > >
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail:
> > users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail:
> > users-help@tomcat.apache.org
> > >
> > >
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message