Hi, I have been watching this thread since I am interested in how to do this. I have a small web site using just html & images & css so I do not use a WAR for deployment just replace/add/delete the files. So would modifying the server.xml be the recommended method?
Thanks, -Tony --- On Wed, 10/14/09, Christopher Schultz <ch...@christopherschultz.net> wrote: > From: Christopher Schultz <ch...@christopherschultz.net> > Subject: Re: changing default ROOT webapp in Tomcat 6.0.18 > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Wednesday, October 14, 2009, 12:16 PM > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Pulak, > > On 10/14/2009 8:03 AM, pulak wrote: > > > > > > > > SpY0o2 wrote: > >> > >> hello, I've been trying to deploy an application > to Tomcat 6.0.18. I would > >> like to make it my default ROOT app (without > renaming the app to ROOT), so > >> that I can access my app by entering > >> > >> http://localhost:8080/ instead of http://localhost:8080/myApps > >> > >> Thanks. > >> > >> > > > > The easiest possible thing is to put an element in > server.xml file in /conf > > directory. > > It would be better to move the webapp's > META-INF/context.xml file into > conf/[service]/[hostname]/ROOT.xml. That way, you don't > have to modify > server.xml for any reason. > > Just remember to put your WAR file /outside/ of any of > Tomcat's > auto-deploy webapps directories (such as 'webapps' by > default) or your > webapp will be deployed twice. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkrWFXkACgkQ9CaO5/Lv0PD7mgCfel/jyhKUBnv/gXK1nK94HKVg > SMEAoIbK6LWIXfHwf4rz70ROVdAUWi/a > =AgLA > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org